home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,401 to 2,500 / aol-file-protocol-4400-2401-to-2500.zip / AOLDLs / PC Business Library / PKZ_ V2.50 DOS PKZIP_PKUNZIP / PK250DOS.exe / MANUAL.TXT < prev    next >
Text File  |  1999-03-01  |  175KB  |  4,361 lines

  1.  +---------------------------------------------+                |
  2.  |                                             ++               |
  3.  |            PKZIP 2.50 for DOS               ||               |
  4.  |                                             ||               |
  5.  |              *USER'S MANUAL*                ||               |
  6.  |                                             ||               |
  7.  +---------------------------------------------+|               |
  8.   +---------------------------------------------+               |
  9.                                                                 |
  10.                                                                 |
  11.                                                                 |
  12.                                                                 |
  13.                                                                 |
  14.                                                                 |
  15.                                                                 |
  16.                                                          PKZIP  |
  17.                                                        PKUNZIP  |
  18.                                                          PKSFX  |
  19.                                                       PKZIPFIX  |
  20.                                                        PKUNZJR  |
  21.                                                                +|
  22.                                    PKWARE, Inc.                ||
  23.                                    9025 N. Deerwood Drive      ||
  24.                                    Brown Deer, WI 53223  USA   ||
  25.                                                                ||
  26.                                           Phone (414) 354-8699 ||
  27.                                           Fax   (414) 354-8559 ||
  28.                                           BBS   (414) 354-8670 ||
  29.                     --------------------------------------------+
  30.  
  31.  
  32. Copyright 1989-1999 PKWARE Inc. All Rights Reserved.
  33.  
  34. U.S. Patent No. 5,051,745
  35.  
  36. No part of this publication may be reproduced, transmitted,
  37. transcribed, stored in a retrieval system, or translated into any 
  38. other language or computer language in whole or in part, in any form
  39. or by any means, whether it be electronic, mechanical, magnetic,
  40. optical, manual or otherwise, without prior written consent of 
  41. PKWARE, Inc.
  42.  
  43. PKWARE, Inc. disclaims all warranties as to this software, whether
  44. expressed or implied, including without limitation any implied 
  45. warranties of merchantability, fitness for a particular purpose,
  46. functionality, data integrity or protection.
  47.  
  48. PKWARE, the PKWARE logo, PKZIP, PKUNZIP, and PKSFX are registered
  49. trademarks of PKWARE, Inc.
  50.  
  51. StupenDOS is a trademark of Eclipse Technologies, Inc.
  52.  
  53. MS-DOS is a trademark of Microsoft Corporation.
  54.  
  55. Netware and Novell are registered trademarks of Novell, Inc.
  56.  
  57. Trademarks of other companies mentioned in this documentation appear
  58. for identification purposes only and are the property of their 
  59. respective companies.
  60.  
  61. PLEASE NOTE: This is a condensed version of the manual provided with
  62. the Registered version of PKZIP. Some sections have been condensed 
  63. or omitted in this version. 
  64.  
  65. Introduction
  66.  
  67. PKZIP 2.50 for DOS is an easy to use yet powerful .ZIP archive
  68. manager designed and engineered by the originators of the .ZIP file
  69. format. PKZIP's command line interface allows you to quickly and 
  70. easily accomplish both simple and complex archiving tasks including
  71. compressing and uncompressing files, creating self-extracting .ZIP 
  72. files, and spanning .ZIP files across diskettes. 
  73.  
  74. Conventions
  75.  
  76. This manual follows several conventions for clarity and to help you
  77. find information quickly. 
  78.  
  79. **  Anything that we want to be sure you don't miss will be prefaced 
  80.     with asterisks.
  81.  
  82. Command Syntax
  83.  
  84. Standard command specification syntax is used throughout the Command
  85. Reference section. This is used to differentiate between command 
  86. option parameters which are optional or mandatory, and to indicate
  87. when certain options may be combined:
  88.  
  89. < > Angle Brackets are used to indicate a command option parameter 
  90. which must be present. The option parameter will follow immediately 
  91. after the option with no space.
  92.  
  93. [ ] Square Brackets indicate a command option parameter which is not
  94. mandatory.
  95.  
  96. , | If there are several possible options which may be used in the
  97. position indicated by the angle or square brackets, they will be 
  98. separated by either a Comma or a Vertical Bar (i.e. Pipe). If options
  99. are separated by a comma, then more than one of the options may be 
  100. used simultaneously. If they are separated by a vertical bar, the 
  101. options are exclusive of one another and only one may be used at a 
  102. time.
  103.  
  104. Following are some abstract examples of how these syntax rules are 
  105. applied.
  106.  
  107. Syntax               Valid Entries
  108. ---------------------------------------------------
  109. -z<a,b,c>           -za, -zab, -zac, -zbc, -zabc
  110.  
  111. -z<a|b|c>           -za, -zb, -zc
  112.  
  113. -z[a,b]             -za, -zb, -zab, -z
  114.  
  115. -z<a|b,c>           -za, -zb, -zac, -zbc 
  116.                     (-zab or -zabc would be invalid)
  117.  
  118. Product Support
  119.  
  120. We hope that your use of PKZIP and PKUNZIP will be enjoyable and
  121. trouble-free. It is our intention to provide the best possible 
  122. product and documentation. We understand that problems may arise, 
  123. and in most cases you will be able to resolve problems you may have
  124. by referring to the documentation. Answers to questions you might
  125. have will usually be found within this document.
  126.  
  127. You may reach our Product Support staff in several convenient ways.
  128.  
  129. Internet/Usenet
  130.  
  131. World Wide Web - http://www.pkware.com
  132. Electronic Mail - support@pkware.com
  133.  
  134. Additionally, PKWARE products are frequently discussed in the Usenet
  135. newsgroup "comp.compression". Internet newsgroups are not supported 
  136. directly by PKWARE.
  137.  
  138. CompuServe
  139.  
  140. PKWARE Support Technicians maintain a discussion forum on CompuServe.
  141. To get to the forum, simply type "GO PKWARE" from any CompuServe 
  142. prompt.
  143.  
  144. PKWARE CompuServe ID# 75300,730
  145.  
  146. PKWARE BBS
  147.  
  148. PKWARE also maintains its own BBS. The PKWARE BBS is normally 
  149. available 24 hours a day. The BBS supports all baud rates from 1200
  150. up to 14.4K. Set your communications software for 8 bits, 1 stop bit,
  151. no parity.
  152.  
  153. The PKWARE BBS offers the latest in PKWARE shareware as well as many
  154. other files for downloading. The PKWARE BBS has multiple phone lines
  155. for your convenience.
  156.  
  157. PKWARE BBS - (414)354-8670
  158.  
  159. Voice and Fax
  160.  
  161. You may reach a PKWARE Support Technician by sending a Fax containing
  162. your question.
  163.  
  164. PKWARE FAX - (414)354-8559
  165.  
  166. If your question is urgent, or you do not have access to any of the 
  167. above methods of communication, a Support Technician may be reached
  168. by phone. PKWARE Technical support is normally available Monday
  169. through Friday, 9 a.m. to 5 p.m. Central Time (-7 hours GMT).
  170.  
  171. PKWARE Voice Support - (414)354-8699
  172.  
  173. Information to Give
  174.  
  175. When contacting PKWARE Technical Support in any of the above methods,
  176. please be prepared to provide as much information about the problem 
  177. as possible. Include the version numbers for: PKZIP, DOS, and any 
  178. Memory and Device Drivers you are using. Include the command(s) you
  179. have tried to use, and what the results were and note why you feel 
  180. you have a problem.
  181.  
  182. When faxing a problem, a print out of any error messages is often
  183. helpful in determining a solution.
  184.  
  185. Please see the Troubleshooting section for additional information.
  186.  
  187. PKWARE Inc.
  188. 9025 N. Deerwood Dr.
  189. Brown Deer, WI  53223
  190. (414)354-8699
  191. (414)354-8559 FAX
  192. (414)354-8670 BBS
  193.  
  194. Installation
  195.  
  196. PKZIP works best when it is located in your path. You may put PKZIP 
  197. in your path by either copying it into an already existing 
  198. subdirectory that is in your path, or by copying it into its own 
  199. subdirectory and subsequently placing that subdirectory into your 
  200. search path.
  201.  
  202. Throughout this manual many examples will show the command prompt.
  203. This will look like "C:\>" or "C:\PKWARE>" or something similar. This
  204. represents the command prompt displayed by your computer and is not
  205. to be typed in. If you do not see a prompt that looks like this when
  206. you are using DOS, try typing the command "PROMPT $P$G". This will 
  207. set your prompt to resemble those used here. You may also want to 
  208. add the "PROMPT $P$G" command to your AUTOEXEC.BAT file.
  209.  
  210. Path
  211.  
  212. There are two meanings for path as used under MS-DOS. It may refer 
  213. to the location of a file, or it may refer to the places DOS will 
  214. search for a command.
  215.  
  216. In the first instance, a path would be the directory or 
  217. subdirectories that a file is located in. If a file called 
  218. "HOURS.PYS" is in a subdirectory called "JUNE" under a directory 
  219. called "PAYROLL" on the D: hard disk, it's full path would be 
  220. "D:\PAYROLL\JUNE\HOURS.PYS".
  221.  
  222. In the second instance, the path is a list of places stored in an 
  223. environment variable called "path". If you type "path" at the DOS 
  224. prompt and press enter you will see the path that is currently set 
  225. on your computer. It will usually look something like this:
  226.  
  227. C:\;C:\DOS;C:\UTIL;D:\WINDOWS
  228.  
  229. It will likely look different on your machine. The path is set by a 
  230. statement in the AUTOEXEC.BAT file. For more information, on setting 
  231. a path environment variable, please see your operating system manual.
  232.  
  233. To install PKZIP 2.50 for DOS do the following:
  234.  
  235.    Run the PKZIP Shareware self-extracting setup program by typing 
  236.    the following and pressing ENTER:
  237.    
  238.      a:pk250dos.exe -d c:\pkware
  239.    
  240.    In this example, the PKZIP for DOS file set will be installed from
  241.    the a: drive into the c:\pkware directory.
  242.  
  243. You must next modify your AUTOEXEC.BAT file. You may edit this file 
  244. with any editor that can load and save plain ASCII files (For 
  245. example, "Edit" in MS-DOS, Windows Notepad/Write/WordPad, or any word
  246. processor with ASCII TEXT editing ability.
  247.  
  248. To edit your autoexec.bat file (in Edit) from a DOS prompt type:
  249.  
  250. C:\>edit autoexec.bat
  251.  
  252. Look for a line in the file that says something similar to:
  253.  
  254. PATH=C:\;C:\DOS;(etc...)
  255.  
  256. Go to the end of this line and add a semicolon if one is not already
  257. there, and the drive and path to PKZIP that you just created. For 
  258. example "...;C:\PKWARE"
  259.  
  260. The line will now look similar to this:
  261.  
  262. PATH=C:\;C:\DOS;C:\PKWARE
  263.  
  264. You will most likely have additional items between the C:\DOS; and 
  265. C:\PKWARE.
  266.  
  267. Next add a line that looks like this:
  268.  
  269. set pkware.ini=c:\pkware
  270.  
  271. The directory specified must be equal to the directory where 
  272. PKWARE.INI is located. If you have followed this installation 
  273. procedure exactly, the above line will work fine. This line should
  274. be near the top of the AUTOEXEC.BAT file.
  275.  
  276. Save the file and exit. You will have to re-boot your computer to 
  277. make the change take effect.
  278.  
  279. After you reboot type "path" at the command line and press [ENTER].
  280. Your machine will show the path. Make certain that the subdirectory
  281. you placed the PKWARE files in is shown in the path.
  282.  
  283. You may now verify that PKZIP is installed by typing "PKZIP" at the 
  284. DOS command prompt. After you press [ENTER] you should see a banner
  285. screen from PKZIP. Try PKUNZIP as well. You should be able to type 
  286. PKUNZIP or PKZIP in any directory and drive, not just in the PKWARE
  287. subdirectory.
  288.  
  289. If you receive the message "Bad command or file name" or "Unknown 
  290. command", PKZIP is not properly installed. Check the location of the
  291. files you extracted from the distribution file. Also check the lines
  292. that were added to the AUTOEXEC.BAT file. Make certain you have 
  293. rebooted since the changes were made to the AUTOEXEC.BAT file.
  294.  
  295. Tutorial
  296.  
  297. A comprehensive tutorial is provided with the Registered version of 
  298. PKZIP. This tutorial has been omitted from this version of the 
  299. manual.
  300.  
  301. Command Reference
  302.  
  303. Items contained in square brackets([ ]) are optional parameters to 
  304. an option and need not be included. Where there are two (or more) 
  305. items separated by a comma, you may use any ONE of those options
  306. following the main option character. If there are parameters in angle
  307. brackets(<>) you must include that option, or choose one of those in
  308. the series. When choosing options from a bracketed series, you may 
  309. use more than one of these options if they are separated by a comma.
  310. If the options are separated by a vertical bar (|)you may only choose
  311. one option. See the Command Syntax section for examples.
  312.  
  313. PKZIP Command Option Guide
  314.  
  315. ________________________________________________________________
  316. -a+  Turn off archive attribute of added files.
  317.  
  318. By using this option you may create a complete backup of your disk,
  319. while clearing the archive attributes to make the way for 
  320. incremental archiving.
  321.  
  322. Incremental archiving makes use of the archive attribute to take only
  323. the files which have been modified since the last backup. In order 
  324. for this process to work smoothly you must first have a complete 
  325. backup and a clearing of the archive attribute for all files.
  326.  
  327.    C:>pkzip f:backup.zip -a+ -rp
  328.  
  329. ________________________________________________________________
  330. -b<drive:path>  Create temporary .ZIP file on alternate drive
  331.  
  332. Every time a .ZIP file is updated, PKZIP creates a temporary work
  333. file. When the modifications to the .ZIP file are successfully
  334. completed, the original .ZIP file is replaced with the temporary work
  335. file. This means you must have at least as much additional disk space
  336. available as was used by the original .ZIP file.
  337.  
  338. For Example: If you have an existing .ZIP file of 500K, and you are 
  339. adding another file to it that takes 10K compressed, you need 
  340. additional workspace of at least 510K during the update process.
  341.  
  342. This command option will allow you to create the temporary .ZIP file
  343. on a drive different from the one on which the original .ZIP file 
  344. resides. This allows you to update large .ZIP files when space is
  345. limited, such as a large .ZIP file on a floppy disk. Also, by setting
  346. this temporary drive to point to a RAM drive, you can speed up the 
  347. operation of PKZIP.
  348.  
  349. Immediately following the -b option place the drive and/or path you 
  350. wish to use for the temporary work file.
  351.  
  352.    A:>pkzip test.zip -bc: order.doc
  353.  
  354.    C:>pkzip wp.zip -bz:\public wp51\*.*
  355.  
  356. **  It is necessary to specify a path in addition to the drive letter
  357.     only if you are in a situation where disk space or access is 
  358.     being limited by subdirectory, such as on a local area network.
  359.  
  360. ________________________________________________________________
  361. -c        Create/Edit file comments for all files
  362. -ac[-|+]  Create/Edit file comments for all files during update
  363. -C        Add comments for new files only
  364.  
  365. Each individual file contained within a .ZIP file may have a comment
  366. attached to it. Comments are useful for identifying files, especially
  367. if you need to go back months later to look at a file, or if you are
  368. sending the file to someone else. Each comment may be up to 59 
  369. characters long, including spaces and punctuation.
  370.  
  371. The -c (lower case) option is used when you want to add or edit file
  372. comments for all files within an existing .ZIP file.
  373.  
  374. The -ac[-|+] option may be used during the .ZIP file creation 
  375. process, or during an update/freshen process. You may optionally 
  376. specify a - (i.e. minus) after the -ac option to replace any existing
  377. comment(s). Specify a + (i.e. plus) after the -ac option to edit any
  378. existing comment(s).
  379.  
  380.    pkzip test.zip -ac license.doc
  381.  
  382. When each file is added to the .ZIP file you will be prompted for a 
  383. comment. Type a comment of up to 59 characters, and press [ENTER]. 
  384.  
  385. The -C (upper case) option is used when you want to add a file 
  386. comment to new files that are being added to an existing .ZIP file. 
  387. Files which are not being added, or files which already existed in 
  388. the .ZIP file will not be prompted for comments.
  389.  
  390.    pkzip test.zip -C *.doc
  391.  
  392. In this situation, you would be adding additional files to the file
  393. called test.zip. Since the file license.doc was added to it in the 
  394. previous example, you would not be prompted for a comment for this
  395. file.
  396.  
  397. ________________________________________________________________
  398. -d Delete files
  399.  
  400. This command will allow you to remove individual files from within a
  401. .ZIP file. This command is only applicable to already existing .ZIP 
  402. files.
  403.  
  404.    pkzip test.zip -d license.doc
  405.  
  406. In the above example the file license.doc would be removed from the 
  407. .ZIP file test.zip (assuming that it was in the .ZIP file in the 
  408. first place).
  409.  
  410. **  The deletion of files from within a .ZIP file causes a situation
  411.     where a temporary .ZIP file will exist during the deletion 
  412.     process. In order to delete a file from a .ZIP file there must be
  413.     as much disk space free as will be occupied by the modified .ZIP
  414.     file.
  415.  
  416. Multiple files may be deleted at one time. You may do this either by
  417. placing multiple file names on the command line, or by specifying a
  418. list file containing the names of files you want deleted. (See Using
  419. List Files)
  420.  
  421.    pkzip july.zip -d file1.wk file2.wk1
  422.  
  423.    pkzip tue_back.zip -d @old.lst
  424.  
  425. ________________________________________________________________
  426. -e[xx|x|n|f|s|0] Specify compression method
  427.  
  428. -exx        eXtreme maXimum compression
  429. -ex         maXimum compression (most compression, most time)
  430. -en         Normal compression (default)
  431. -ef         Fast compression
  432. -es         Super fast compression (least compression, least time)
  433. -e0         Zero (i.e. 0) compression (storing)
  434.  
  435. PKZIP 2 provides five different methods of compression, allowing you
  436. to choose the compression that best suits your need. You can choose
  437. speed, high compression or a balance. The default method will provide
  438. good compression at a reasonable speed.
  439.  
  440. The switches for this option are intended to be mnemonic in nature:
  441.  
  442. -exx    eXtreme maXimum
  443. -ex     maXimum
  444. -en     Normal
  445. -ef     Fast
  446. -es     Speed/Super fast
  447. -e0     zero (i.e. 0) compression
  448.  
  449. The only two that may be difficult to remember are the order of Fast
  450. and Super Fast, you might want to think "Extra Speed".
  451.  
  452. If you need to complete the compression in the minimum amount of time
  453. possible, then choose the fast compression method. To force PKZIP to
  454. use its fastest compression method, use the option -es (Super Fast).
  455.  
  456. To achieve the smallest files possible, specify the extreme maximum 
  457. compression method using the option -exx.
  458.  
  459.    pkzip -exx test.zip d:\wp51\*.wp
  460.  
  461. Using no compression with the zero option is useful when archiving
  462. files which will either not compress or compress very little. This
  463. would generally be true when archiving .ZIP files. By specifying no
  464. compression PKZIP will store the files directly rather than first
  465. attempting to compress them.
  466.  
  467. The compression method to use by default can be specified in the
  468. configuration file. If you have specified the super fast, fast or
  469. maximum compression method in your configuration you may override 
  470. this and use the normal method by using the option -en.
  471.  
  472. ________________________________________________________________
  473. -f  Freshen files in a .ZIP file
  474.  
  475. When this command is specified, PKZIP will compare the contents of
  476. the .ZIP file specified on the command line against the files 
  477. specified for compression. If a file ALREADY EXISTS in the .ZIP file,
  478. PKZIP will check to see if the file exists in the source area (i.e. 
  479. the files specified on the command line). If the file does exist, it
  480. then checks to see if the file in the source area is more recent than
  481. the copy contained in the .ZIP file. If it is more recent, it will 
  482. replace the compressed file with the one found in the source area.
  483.  
  484. Using this parameter will normally speed up the ZIP process 
  485. considerably, as PKZIP will be able to skip over files that it has 
  486. already compressed.
  487.  
  488.    pkzip -f baka.zip c:\ranma\*.*
  489.  
  490. This example checks the contents of the .ZIP file "baka.zip" against
  491. the files specified by "c:\ranma\*.*". Any file that matches will be
  492. updated if the file in the source area is newer than the copy within
  493. the .ZIP file.
  494.  
  495. See Also: -u, -i
  496.  
  497. ________________________________________________________________
  498. -h display command summary (Help)
  499.  
  500. This option will display a brief summary of the command switches 
  501. available.
  502.  
  503. ________________________________________________________________
  504. -i   Add files that have the archive attribute 
  505.      (then turn attribute off)
  506.  
  507. -i-  Add files that have the archive attribute
  508.      (do not turn attribute off)
  509.  
  510. This option is very handy when backing up files. If this option is
  511. specified, only files with the archive attribute will be compressed,
  512. and the archive attribute will be set to off when the ZIP operation 
  513. is complete for these files.
  514.  
  515. You may alternatively ZIP all files with the archive attribute set, 
  516. but not modify the archive attribute.
  517.  
  518. A detailed explanation of the use of this option is given in the 
  519. PKZIP Backup Guide at the end of this manual.
  520.  
  521. Archive Attribute
  522.  
  523. Every file on an MS-DOS partition has several properties associated
  524. with it. One of these properties is called the Archive Attribute. 
  525. When a file has just been created, this attribute is set to be ON. 
  526. Also, if a file is altered, the attribute is set. After a file has
  527. been backed-up by a program which uses this attribute, the attribute
  528. is switched off. By making use of the archive attribute you may make
  529. certain that you get all files that are new or changed. You save time
  530. by not backing up files you have previously archived. This process is
  531. called an Incremental Backup.
  532.  
  533. See Also: PKZIP Backup Guide, -f , -u, -a+
  534.  
  535. ________________________________________________________________
  536. -j<h,r,s,a> Specify masking of file attributes
  537. -J<h,r,s,a> Specify retention of file attributes 
  538.           (used to override config file)
  539.  
  540. When PKZIP archives a read-only file (or is forced to archive a 
  541. hidden, system, or archive file through use of the -w option) the 
  542. default is to retain these attributes with the file in the archive.
  543. You may choose to strip these attributes off the file during the .ZIP
  544. process by specifying the -j (lower case) with the letter(s) 
  545. corresponding to the attribute you wish to mask.
  546.  
  547. File Attributes
  548.  
  549. Every file on an MS-DOS partition has several properties associated 
  550. with it. These attributes are: archive(a), hidden(h), read-only(r),
  551. and system(s). The archive attribute is explained under the -i 
  552. option. The Hidden attribute prevents MS-DOS from displaying the file
  553. in a directory listing. Files that have this attribute are normally
  554. ignored by PKZIP. The read-only attribute prevents a file from being
  555. changed or deleted. When a file has this attribute you cannot delete
  556. the file or change it's contents. The system attribute signifies a 
  557. file that is a system file. System files are used by MS-DOS and are
  558. treated as Hidden files. Please see your DOS manual for additional
  559. information.
  560.  
  561. You may set masking of particular attributes to be the default by 
  562. using either the PKWARE.INI file or the PKZIP configuration program.
  563.  
  564. If any of these options are set in the configuration they may be 
  565. overridden temporarily by use of the -J (upper case) option.
  566.  
  567.    pkzip markie.zip -Jhs c:\util\*.*
  568.  
  569. **  Please note there is no space between the -j/J option and the 
  570.     h,r, s, or a.
  571.  
  572. ________________________________________________________________
  573. -k  Retain original .ZIP file date
  574. -k- Set .ZIP file date to the current date 
  575.     (override configuration file)
  576.  
  577. Normally, when PKZIP updates an existing .ZIP file by either adding 
  578. to it or deleting from it, the .ZIP file date is changed to the 
  579. current date. If the - k option is specified on the command line the
  580. .ZIP file date will not be altered.
  581.  
  582. This option may be made the default, see PKZIP Configuration.
  583.  
  584. If PKZIP is configured to keep the original date in the configuration
  585. file, this may be overridden temporarily by use of the -k- option.
  586.  
  587. **  The -o and -k, as well as the ZIPDATE= options in the pkware.ini
  588.     file, will be ignored when used with the -& option.
  589.  
  590. See Also: -o
  591.  
  592. ________________________________________________________________
  593. -l Display license screen
  594.  
  595. If this command is specified, PKZIP will display the software license
  596. agreement.
  597.  
  598. ________________________________________________________________
  599. -m[u|f]  Move files
  600.  
  601. Normally, when PKZIP archives a file, it is making a copy of that
  602. file. The original file is not modified in any way. By choosing the
  603. -m option, you may actually MOVE the file (and directories) into the
  604. .ZIP file.
  605.  
  606. After the ZIP operation is complete, PKZIP will delete all the files
  607. it just placed into the .ZIP file. Additionally PKZIP (by default)
  608. deletes the source directories and subdirectories. You may disable
  609. this feature with the -m-. 
  610.  
  611. This option may be combined with the Update (-u) and Freshen (-f) 
  612. options. When this is done PKZIP will perform the Update or Freshen
  613. as it would normally, and then delete all the files that were placed
  614. into the archive.
  615.  
  616. See Also: -f, -u
  617.  
  618. ________________________________________________________________
  619. -o   Set .ZIP file date to latest file in .ZIP file
  620. -o-  Set .ZIP file date to current date 
  621.      (used to override configuration file)
  622.  
  623. Normal default operation for PKZIP is to set the date of a .ZIP file
  624. it is modifying or creating to the current date. By specifying the -o
  625. option you can tell PKZIP to set the date of the .ZIP file equal to
  626. that of the latest file within the .ZIP file.
  627.  
  628. This option may be made the default, see PKZIP Configuration.
  629.  
  630. If this option is set, you may override it by using the -o- option.
  631. This will force PKZIP to set the .ZIP file date to the current date.
  632. Note that the -o- option must be completely separate from any other
  633. options, such as the -f in the example:
  634.  
  635.    pkzip oldfiles.zip -o- -f c:\wp51\text\*.wp
  636.  
  637. **  The -o and -k, as well as the ZIPDATE= options in the pkware.ini
  638.     file, will be ignored when used with the -& option.
  639.  
  640. See Also: -k
  641.  
  642. ________________________________________________________________
  643. -P  Preserve specified path names
  644. -P- Turn off path storage 
  645.     (used to override configuration file)
  646.  
  647. This option and the related -rp option control the storage of path
  648. names with files inside of a .ZIP file. The -p (lower case) option is
  649. used only in combination with the -r option as -rp (see -r for more 
  650. information).
  651.  
  652. The -P (upper case) option can be used alone or as a -rP option. The
  653. -P option causes PKZIP to store path names found on the command line
  654. as part of a filename specified for compression. This command will 
  655. only have an effect if a file or files specified either on the
  656. command line or in a list file have path names.
  657.  
  658.    pkzip pathtest.zip -P c:\dos\attrib.exe
  659.  
  660. In the above command the file "attrib.exe" would be compressed into 
  661. the .ZIP file "pathtest". Because the -P option was specified, and 
  662. because the path "\dos" was specified as part of the file name, the
  663. file will be stored as "dos\attrib.exe". This means that the path 
  664. name will be available for reconstruction during extraction. Stored
  665. path names can be seen when the .ZIP file is viewed.
  666.  
  667.    pkzip path2.zip -P d:\coreldrw\*.cdr
  668.  
  669. In this example all files with the "cdr" extension will be placed
  670. into the .ZIP file "path2", and will have the path "coreldrw\" 
  671. stored with them.
  672.  
  673. This option may be made the default, see PKZIP Configuration.
  674.  
  675. If path storage is turned on in the configuration file, you may turn
  676. it off for a particular command by using the -P- option.
  677.  
  678.    pkzip mydoc.zip -P- c:\wp51\docs\zoofund.wp
  679.  
  680. See Also: -r, -v
  681.  
  682. ________________________________________________________________
  683. -q      Enable ANSI comments
  684. -q-     Disable ANSI comments 
  685.         (used to override configuration file)
  686.  
  687. PKZIP retains ANSI control codes in comment text that is added to a 
  688. .ZIP file. During display of the comment text, PKZIP will normally 
  689. disable ANSI codes. If you want to have the ANSI control codes used
  690. by PKZIP when displaying comment text, you must specify this option.
  691.  
  692.    pkzip spacemp.zip -q se.diz
  693.  
  694. This option may be made the default, see PKZIP Configuration.
  695.  
  696. If the ANSI option is turned on in the configuration file you may 
  697. temporarily override it by using the -q- option. Note that the -q and
  698. -q- options must be separated from any other options specified.
  699.  
  700. ________________________________________________________________
  701. -r   Recurse subdirectories
  702.  
  703. -rp  Recurse subdirectories
  704.      (preserve the path structure below)
  705.  
  706. -rP  Recurse subdirectories
  707.      (preserve path structure specified and below)
  708.  
  709. -r-  Turn off recursion 
  710.      (used to override configuration file)
  711.  
  712. When this option is specified, PKZIP will search the source directory
  713. for subdirectories. If any subdirectories are found, PKZIP searches
  714. them for files. If a further level of subdirectories is found in a
  715. subdirectory, PKZIP will search these as well.
  716.  
  717. PKZIP will enter as many subdirectory levels as exist.
  718.  
  719.    pkzip mail.zip -r c:\mymail\*.*
  720.  
  721. Using the above command, all files contained within the "mymail"
  722. subdirectory, as well as all files within any subdirectories, would 
  723. be archived. Only the file names would be retained, and not the names
  724. of the subdirectories.
  725.  
  726.    pkzip mail2.zip -rp c:\mymail\*.*
  727.  
  728. The second example would preserve the same files as the first, but 
  729. also keep the names of any subdirectories found below the "mymail" 
  730. subdirectory. Note that the "mymail" subdirectory itself would not 
  731. be retained since the -P is not being used.
  732.  
  733.    pkzip pay_june.zip -rP d:\payroll\*.*
  734.  
  735. The third example will compress all of the files in the payroll 
  736. directory, as well as all of the files in any subdirectories. The 
  737. -rp would cause the subdirectories to be recursed and stored. The -P 
  738. will cause "\payroll" to be stored as well. Without the -P, the 
  739. "\payroll" portion of the path would not be stored. This option may
  740. be made the default, see PKZIP Configuration.
  741.  
  742. **  Please note that paths are not stored when the -r option is 
  743.     specified without the p or P option. In order for paths to be 
  744.     stored, the -r option must be accompanied by the -p or -P option.
  745.  
  746. ________________________________________________________________
  747. -s[password] Encrypt files
  748.  
  749. By specifying this option you may encrypt data as it is compressed by
  750. PKZIP. This feature of PKZIP causes the information contained within
  751. a .ZIP file to be scrambled. A file which has been scrambled will be
  752. unreadable until extracted with the same encryption key.
  753.  
  754. If a password is not specified the user will be prompted for one.
  755.  
  756. **  This feature should be used with caution. For a complete 
  757.     explanation of the use of this option please see the Using Data 
  758.     Encryption section.
  759.  
  760. ________________________________________________________________
  761. -t<date>  Select files NEWER than or EQUAL to date
  762. -T<date>  Select files OLDER than date
  763.  
  764. This option will allow you to select files according to their date. 
  765. The date specifier is a eight-digit number conforming to the 
  766. following formats:
  767.  
  768. "American" style:     mmddyyyy
  769. 04011993     April 1st, 1993
  770. 10311989     October 31st, 1989
  771.  
  772. "European" style:     ddmmyyyy
  773. 01041993     1 April, 1993
  774. 31101989     31 October, 1989
  775.  
  776. "Japanese" style:     yyyymmdd
  777. 19930401     1993 April 01
  778. 19891031     1989 October 31
  779.  
  780. PKZIP adapts itself to the date format for which your machine is 
  781. configured automatically.
  782.  
  783. All users within the United States use the first date format.
  784.  
  785. If you are outside the United States and are unsure of the 
  786. configuration of your computer, enter the DATE command at the DOS 
  787. prompt. This will show you the date format being used on your 
  788. computer.
  789.  
  790. The -t and -T options may be combined to specify a date range.
  791.  
  792. These examples all use the "American" date format (mmddyyyy). To
  793. compress all files created after or on November 4, 1992:
  794.  
  795.    pkzip test.zip -t11041992
  796.  
  797. To compress all files created before January 10, 1991:
  798.  
  799.    pkzip test.zip -T01101991
  800.  
  801. To compress all files created between October 1, 1992 and October 31,
  802. 1992:
  803.  
  804.    pkzip test.zip -t10011992 -T10311992
  805.  
  806. If -t is used with no date, files with dates equal to the current date are
  807. specified:
  808.  
  809.    pkzip today.zip -t
  810.  
  811. ________________________________________________________________
  812. -u  Update files
  813.  
  814. This option only affects PKZIP operations involving an already 
  815. existing .ZIP file. When -u is used in conjunction with a PKZIP 
  816. command, the files specified for archiving will be compared against 
  817. the files already present in the .ZIP file. If the file to be added 
  818. into the .ZIP file is already present and is not NEWER, PKZIP will 
  819. not bother to re-compress the file.
  820.  
  821. By using this option, you may save yourself time when archiving files
  822. that are backed up repeatedly. This option differs from the behavior
  823. of the -f option in that files which are not already present in the
  824. .ZIP file will be added.
  825.  
  826.    PKZIP p:\backup\sdsource.zip -u d:\c700\work\sd*.*
  827.  
  828. In this example a .ZIP file called "sdsource.zip" is created in a 
  829. "backup" directory on the P: drive. All files in the source directory
  830. matching the file specification will be added or updated.
  831.  
  832. See Also: -f
  833.  
  834. ________________________________________________________________
  835. -v[b][r,c|d|e|n|o|p|s][m]      View [brief] file information
  836. -vt[m]                         View Technical file information
  837.  
  838. This option will display technical information concerning the files
  839. contained within a .ZIP file. There are several options available
  840. with the View option. Each of the -v options may have an `m' added to
  841. it, causing the screen to pause every 25 lines.
  842.  
  843. In it's simplest form the -v by itself gives a display similar to 
  844. this:
  845.  
  846.    pkzip am70 -v
  847.  
  848.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  849.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKZIP/h for help
  850.    PKZIP Reg. U.S. Pat. and Tm. Off.  Patent No. 5,051,745
  851.  
  852.    -80486 CPU detected.
  853.    -XMS version 3.00 detected.
  854.    -Novell Netware version 3.11 detected.
  855.  
  856.    Searching ZIP: AM70.ZIP - PKWARE Support BBS (414)354-8670
  857.  
  858.    Length  Method    Size  Ratio    Date     Time    CRC-32  Attr  Name
  859.    ------  ------    ----- -----  --------   -----  -------- ----  ------------
  860.     76812  DeflatX   23139  70%  01-30-1992  12:03  971fea04 --w-  AM.DOC
  861.    191872  DeflatX   80773  58%  01-31-1992  15:02  25cf904a --w-  AM.EXE
  862.     11664  DeflatX    6935  41%  01-30-1992  11:57  183b5606 --w-  AM.HLP
  863.    149567  DeflatX   63211  58%  01-31-1992  15:02  bf2fffee --w-  AM.OVR
  864.      2262  DeflatX    1021  55%  03-16-1991  10:39  50b63fc5 --w-  NEW-WARE.BBS
  865.      5327  DeflatX    2068  62%  10-14-1991  11:25  924efc72 --w-  PATHINFO.TXT
  866.       130  DeflatX     118  10%  11-14-1990  10:05  fd1b1183 --w-  PROGMENU.AM
  867.      3664  DeflatX    1644  56%  04-04-1991  10:32  c8d5c9cf --w-  PROGMENU.DOC
  868.      1688  DeflatX     740  57%  11-10-1990  11:27  8ef23b8a --w-  READ!.POP
  869.      1416  DeflatX     595  58%  01-30-1992  12:03  32b1497e --w-  VENDOR.DOC
  870.      2167  DeflatX     949  57%  01-30-1992  12:07  2e13f4d4 --w-  WARNING.!!!
  871.      2200  DeflatX    1049  53%  01-30-1992  12:01  20c953ee --w-  WHAT'S.NEW
  872.    ------           ------  ---                                  ------------
  873.    448769           182242  60%                                       12
  874.  
  875. This is the standard, unsorted view of the .ZIP file contents. The columns
  876. displayed from left to right consist of:
  877.  
  878. Length     Original (non-compressed) size of the file
  879. Method     Type of compression routine used on this file
  880. Size       Current (compressed) size of the file
  881. Ratio      Percent reduction in file size
  882. Date       Date of the file
  883.            (as it would appear in a directory listing)
  884. Time       Time of the file
  885. CRC-32     The value of the file as calculated by the CRC-32 routine
  886. Attribute  The stored attributes of the file, 
  887.            (system, hidden, writable, read-only, *=encrypted)
  888. Name       Name of the file
  889.  
  890. The -vb (brief) option will display an identical listing, minus the 
  891. CRC-32 and Attribute columns.
  892.  
  893. The -vt option shows additional technical information about a file.
  894. When this option is active, a report similar to the following will
  895. be displayed:
  896.  
  897.    C:\>pkzip am70 -vt am.doc
  898.  
  899.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  900.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKZIP/h for help
  901.    PKZIP Reg. U.S. Pat. and Tm. Off.  Patent No. 5,051,745
  902.  
  903.    -80486 CPU detected.
  904.    -XMS version 3.00 detected.
  905.    -Novell Netware version 3.11 detected.
  906.  
  907.    Searching ZIP: AM70.ZIP - PKWARE Support BBS (414)354-8670
  908.  
  909.              Filename: AM.DOC
  910.             File type: text
  911.            Attributes: --w-
  912.         Date and Time: Jan 30,1992  12:03:54
  913.    Compression Method: DeflatX
  914.       Compressed Size: 23139
  915.     Uncompressed Size: 76812
  916.      32 bit CRC value: 971fea04
  917.     Created by: PKZIP: 2.0 under MS-DOS
  918.     Needed to extract: PKUNZIP: 2.0
  919.  
  920. The "File type" is a judgment made by PKZIP during compression based
  921. upon the contents of the file. It will be either "BINARY" or "TEXT".
  922.  
  923. The "Created By" lists both the version level of PKZIP  and the 
  924. operating system used when the .ZIP file was created. Below that is 
  925. listed the minimum version of PKUNZIP that would be required to
  926. extract the file.
  927.  
  928. Sort Order
  929.  
  930. By adding one of the following letters to the -v, -vb, or -vt command
  931. you can specify the sort order of the display.
  932.  
  933. d     File Date
  934. e     File Extension
  935. n     File Name
  936. o     Natural Order 
  937.       (Sort order can be permanently specified in the configuration
  938.       file, the "o" option will override this.)
  939. p     Percentage of compression, smallest to largest
  940. s     File Size, smallest to largest
  941.  
  942. Any of the above sort orders may be reversed with an "r".
  943.  
  944. r     Reverse display order
  945.  
  946. If you wish to also view the individual file comments with the 
  947. listing specify "c" on the command line.
  948.  
  949.    pkzip hildie.zip -vbcnr
  950.  
  951. This example would display a brief list of the file contents,
  952. including individual file contents, and sorted in reverse name order.
  953.  
  954. View With MORE
  955.  
  956.    pkzip totoro.zip -vtrm
  957.  
  958. This example makes use of the "more" feature available with the view
  959. command. This causes the display to pause after every 25 lines of 
  960. information. Adding an `m' to any -v command will cause it to pause
  961. every screen.
  962.  
  963. ________________________________________________________________
  964. -w<h,s>    Take hidden, system files
  965. -W<h,s>    Skip hidden, system files 
  966.            (used to override configuration file)
  967.  
  968. Normally PKZIP will skip any Hidden or System files that fall within
  969. the files specified for compression. (See the -j option and your DOS
  970. manual for an explanation of what Hidden and System files are).
  971.  
  972. If you wish to force PKZIP to take Hidden or System files you may do
  973. so by specifying the -w option, combined with the appropriate
  974. attribute. These attributes will normally be stored as part of the
  975. .ZIP file information unless specified with the -J option.
  976.  
  977.    pkzip all.zip -whs a:\*.*
  978.  
  979. This example would zip all files in the root of the A: floppy drive,
  980. including any hidden or system files.
  981.  
  982.    pkzip att_test -whs -Jhs c:\*.*
  983.  
  984. This would take all files as above, and would also discard the file
  985. attributes. This option may be made the default. See PKZIP 
  986. Configuration.
  987.  
  988. See Also: -j
  989.  
  990. ________________________________________________________________
  991. -x<filename>        Exclude files
  992. -x@listfile.lst     Exclude a list of files
  993.  
  994. Using -x allows you to specify files that you do NOT want used as 
  995. part of a PKZIP operation. Either a specific filename or a file 
  996. pattern may be specified. You may use -x multiple times on the same 
  997. command line, and you may exclude a list of files. The list file is 
  998. structured and treated identically to all other List Files.
  999.  
  1000.    pkzip testfile.zip *.txt -xpizza.txt
  1001.  
  1002. This example would compress all the files with a "txt" extension that
  1003. are in the current directory, but would NOT compress the file 
  1004. "pizza.txt"
  1005.  
  1006.    pkzip test2.zip *.* -x*.txt
  1007.  
  1008. Here we take all of the files EXCEPT the files with a "txt" 
  1009. extension.
  1010.  
  1011.    pkzip test3.zip *.* -xcommand.com -xautoexec.* -xconfig.*
  1012.  
  1013. In this last example all files are specified for extraction, one
  1014. specific file is being excluded, and any files which match two file 
  1015. patterns are excluded.
  1016.  
  1017. See Also: Using List Files, -@
  1018.  
  1019. ________________________________________________________________
  1020. -z Create or modify a .ZIP file comment
  1021.  
  1022. Each .ZIP file may have a comment embedded into it. This comment 
  1023. will be displayed when the file is extracted, viewed or modified. 
  1024. A comment may be added to an existing file, or added when a .ZIP file
  1025. is first created. PKZIP will prompt you for the .ZIP file comment, 
  1026. and allow you to enter up to 127 characters. It is possible to embed
  1027. larger comments (up to 4096 characters) by using the following 
  1028. procedure:
  1029.  
  1030. 1) Create the .ZIP file.
  1031.  
  1032. 2) Create the comment file (comment.txt).
  1033.  
  1034.    This can be done with any editor that is able to output a standard
  1035.    DOS text file. It must be plain ASCII or ANSI text (if it is ANSI
  1036.    text you must also use the -q option). Although the filename 
  1037.    comment.txt is used here, any filename may be used.
  1038.  
  1039. 3) Issue the command:
  1040.  
  1041.    pkzip zipfile.zip -z < comment.txt
  1042.  
  1043.    This makes use of the MS-DOS redirection ability, redirecting the 
  1044.    contents of the file COMMENT.TXT as the input for the comment of 
  1045.    ZIPFILE.ZIP.
  1046.  
  1047.    To add a comment to multiple .ZIP files (within the current
  1048.    directory) Issue the command:
  1049.  
  1050.    for %f in (*.ZIP) do pkzip %f -z < comment.txt
  1051.  
  1052. Note that the text of a comment is not compressed. If you have a 
  1053. large message you wish to attach to the .ZIP file it is better to
  1054. have a short summary and put any longer message in the .ZIP file
  1055. itself. Technically, a .ZIP file comment may be as large as 64k, 
  1056. but PKUNZIP will not display a .ZIP file comment this large.
  1057.  
  1058. ________________________________________________________________
  1059. -!    Encrypt authenticity verifiable data into the .ZIP file
  1060.  
  1061. Using this command option instructs PKZIP to embed Authenticity 
  1062. Verification (AV) information within the .ZIP file it is creating.
  1063.  
  1064. This option may only be used if you have received and installed the
  1065. AV information for your fully Registered copy of PKZIP from PKWARE
  1066. Inc.
  1067.  
  1068. Note that AV codes for PKZIP 2.0 and above are different than those 
  1069. used for version 1.10.
  1070.  
  1071. Please see the section on Authenticity Verification for complete
  1072. information.
  1073.  
  1074. ________________________________________________________________
  1075. @[filename]  Specify LIST file
  1076.  
  1077. This option specifies a plain ASCII text file to be used as the list
  1078. of files to be archived. PKZIP will read in this file listing and 
  1079. generate the complete list of files that must be processed. A list
  1080. file may contain wild card specifications (?,*) as well as exact
  1081. file names:
  1082.  
  1083. files.bbs
  1084. *.txt
  1085. *.*
  1086. text\news.asc
  1087. d:\text\*.ans
  1088. c:/dos/edit.com
  1089.  
  1090. All of the above would be valid entries in a list file. Notice that 
  1091. both forward and backward slashes may be used and mixed.
  1092.  
  1093. The size of a list file that may be processed is limited. The total 
  1094. size of the list file depends upon two factors.
  1095.  
  1096. The first is path storage. If paths are specified in the list file 
  1097. and are NOT stored with the -P option, the list file size is limited
  1098. to approximately 7000 bytes.
  1099.  
  1100. If paths are specified and are stored, the list file size is limited
  1101. to 9700 bytes.
  1102.  
  1103. If a list file has drive letters specified as part of the file names
  1104. within the file, the maximum list file size is reduced. When paths 
  1105. are not stored the maximum size is 5100 bytes, when they are stored
  1106. 6600 bytes.
  1107.  
  1108. Note that this table corresponds to the total size of all list files 
  1109. being used in a single command.
  1110.  
  1111. +-------------------------------------------------------------------+
  1112. | List File Size Limits      |  No Path Storage | Path Storage (-P) |
  1113. |----------------------------+------------------+-------------------|
  1114. | Drive Letters in List File |    5100 bytes*   |       6600        |
  1115. |----------------------------+------------------+-------------------|
  1116. | No Drive Letter            |       7000       |       9700        |
  1117. +-------------------------------------------------------------------+
  1118. * These numbers are approximate and may vary depending on your
  1119.   configuration.
  1120.  
  1121. If the list file is too big, you will receive an "Insufficient 
  1122. Memory" error. If you have a list file which is too big, you may 
  1123. split it into two or more smaller list files and perform multiple 
  1124. PKZIP operations.
  1125.  
  1126. See Also: Using List Files, -@
  1127.  
  1128. ________________________________________________________________
  1129. -& Create multi-volume archive
  1130.  
  1131. When this option is specified PKZIP will create a .ZIP file which is
  1132. larger than a single floppy disk. This option may only be specified
  1133. when creating a .ZIP file on removable media (i.e. a floppy disk or
  1134. high capacity cartridge drive).
  1135.  
  1136. If PKZIP encounters an unformatted floppy disk it will format it 
  1137. before it continues. This means that you will not need to anticipate
  1138. the exact number of floppies that will be needed ahead of time. For
  1139. complete information on the use of this and related options, please
  1140. see the PKZIP Backup Guide at the end of this manual.
  1141.  
  1142. PKZIP for DOS cannot span self-extracting .ZIP files. You may, 
  1143. however optionally create a batch file (e.g. install.bat) that is 
  1144. configured to extract a standard spanned .ZIP archive. For example, 
  1145. the batch file might contain a line similar to the following:
  1146.    
  1147.    pkunzip -d a:program.zip c:\test
  1148.  
  1149. Such a batch file would create the c:\test directory on the 
  1150. destination computer and then unzip the file called program.zip into
  1151. that directory. PKUNZIP prompts the user to enter the diskettes in 
  1152. the proper extraction order.
  1153.  
  1154. **  DOS 3.0 or greater is required to span .ZIP files. DOS 3.2 or 
  1155.     greater is required for full diskette format support.
  1156.  
  1157. ________________________________________________________________
  1158. -$[d]   Store Volume label as part of .ZIP archive
  1159.  
  1160. When this option is specified PKZIP will store the Volume Label of 
  1161. the specified device as part of the information within the .ZIP file
  1162. it is creating or modifying. The letter of the drive containing the
  1163. desired label should be specified in place of the [d] on the option 
  1164. statement. Do not include a colon.
  1165.  
  1166.    pkzip doug.zip -rp -$b b:*.*
  1167.  
  1168. In this example a .ZIP file called "doug" is created in the current
  1169. directory. It consists of the complete contents of the B: drive 
  1170. including it's subdirectories and Volume Label.
  1171.  
  1172. Volume Label
  1173.  
  1174. Every drive that can be accessed on your computer is referred to as
  1175. a VOLUME. This includes not only your hard disk but also floppy 
  1176. disks, and may include other storage devices such as CD ROM drives 
  1177. or large capacity removable drives such as those manufactured by 
  1178. SyQuest or Iomega. Each of these drives may have a VOLUME LABEL. This
  1179. is a text string which identifies it. This is particularly useful on
  1180. removable media, such as floppy disks. Each floppy may have a label
  1181. which is meaningful to you, or to a piece of software. For further
  1182. information on VOLUME LABELS please refer to your DOS manual.
  1183.  
  1184. ________________________________________________________________
  1185. -@filename.txt    Generate LIST file
  1186.  
  1187. **  Please note that this option is different from using a list file.
  1188.     When PKZIP is reading a list file there is no dash in front of 
  1189.     the @.
  1190.  
  1191. This option causes PKZIP to generate a LIST file out the specified 
  1192. file name instead of performing a ZIP operation. The output file will
  1193. be a plain ASCII file with one file name per line, and will be
  1194. identical to the listing of the files PKZIP would have placed into a
  1195. .ZIP file had the -@ option not been used.
  1196.  
  1197. If the -rp is specified the list file will include paths in addition
  1198. to the file names. If the pattern/filespec is on a different drive,
  1199. the drive letter will be included as well.
  1200.  
  1201.    pkzip dummy.zip -@test.txt *.*
  1202.  
  1203. This would generate a list file called "test.txt". Note that the 
  1204. dummy .ZIP file name is needed. The name of the .ZIP file specified 
  1205. does not matter as it is not actually used.
  1206.  
  1207.    pkzip dummy.zip -@test2.txt -rp d:\*.*
  1208.  
  1209. This would create a list file of the ENTIRE contents of the D drive.
  1210. If the current directory is not D:\ when this command is issued the
  1211. drive will be included with each filename in the list file.
  1212.  
  1213. This option can also be useful in conjunction with an existing .ZIP
  1214. file. For example, to generate a list of all files which have been
  1215. modified since they were placed in the .ZIP file "akiko.zip":
  1216.  
  1217.    pkzip akiko.zip -f -@modified.txt *.*
  1218.  
  1219. See Also: Using List Files
  1220.  
  1221. ________________________________________________________________
  1222. -=     Open file in compatibility mode
  1223.  
  1224. This option will cause PKZIP to open files in "compatibility" mode, 
  1225. as opposed to "sharing" mode.
  1226.  
  1227. Using this option will cause PKZIP to ignore most file locking, 
  1228. including share.
  1229.  
  1230. In some networking situations this will allow you to read a file 
  1231. which would otherwise not be accessible due to file locking.
  1232.  
  1233. The PKZIP temporary file
  1234.  
  1235. During compression, PKZIP uses a temporary file. As each file is 
  1236. added to the .ZIP file it is first compressed into this temporary 
  1237. file and then appended to the .ZIP file.
  1238.  
  1239. By default this temporary file is created in the current directory.
  1240.  
  1241. You may have this temporary file created in a different directory by
  1242. setting the environment variable PKTMP. Set this equal to the drive
  1243. you wish to use as your temporary file location.
  1244.  
  1245. For optimal performance on your local hard drive, the PKTMP could be 
  1246. set equal to a RAM drive if a large enough one is available. The 
  1247. temporary file location must have enough free space to hold the 
  1248. largest file in it's compressed state.
  1249.  
  1250. For optimal performance when creating a .ZIP file on a Novell Netware
  1251. volume, set the PKTMP equal to any drive on the same server. This
  1252. will achieve the best performance, and is superior to using the local
  1253. hard drive or the RAM drive.
  1254.  
  1255.    C:\>set pktmp=z:\
  1256.  
  1257. PKUNZIP Command Option Guide
  1258.  
  1259. ________________________________________________________________
  1260. -c      Extract files to the console
  1261. -cm     Extract files to the console with more 
  1262.         (pause between screens)
  1263.  
  1264. This command will extract files from a .ZIP file and display them on
  1265. the monitor. The extracted files will scroll continuously on the
  1266. screen. The software can be instructed to pause after each screen of
  1267. output by using the -cm option.
  1268.  
  1269.    pkunzip pk250dos.exe -cm readme.txt
  1270.  
  1271. This example lists the text file readme.txt screen from the 
  1272. self-extracting .ZIP file "pk250dos.exe". The display will pause and 
  1273. wait for a key press between each screen of text.
  1274.  
  1275. ________________________________________________________________
  1276. -d   Restore directory structure
  1277.  
  1278. This command option uses the path names that have been stored in the
  1279. .ZIP file by PKZIP. If the stored paths do not exist at the 
  1280. extraction destination, they will be created.
  1281.  
  1282. For example: If the following directory tree exists on drive C:
  1283.  
  1284.    C:\---ABC---DIR1
  1285.        |     +-DIR2---DIR3
  1286.        |            +-DIR4
  1287.        +-XYZ
  1288.        +-PDQ
  1289.  
  1290. If you executed:
  1291.  
  1292.    pkzip -rp a:stuff c:\abc\*.*
  1293.  
  1294. A .ZIP file called STUFF would be created containing all the files 
  1295. in the directory "abc", as well as any subdirectories below that
  1296. directory.
  1297.  
  1298. If you then executed:
  1299.  
  1300.    pkunzip -d a:stuff c:\xyz\newabc
  1301.  
  1302. The directory structure of drive C: would now look like this:
  1303.  
  1304.    C:\---ABC---DIR1
  1305.        |     +-DIR2---DIR3
  1306.        |            +-DIR4
  1307.        +-XYZ---NEWABC---DIR1
  1308.        +-PDQ          +-DIR2---DIR3
  1309.                              +-DIR4
  1310.  
  1311. All of the files and subdirectories which were originally in the 
  1312. "abc" directory are now located in the "newabc" directory (shown in
  1313. the box). Note that the "newabc" directory was created by PKUNZIP 
  1314. because it was specified on the command line.
  1315.  
  1316. ________________________________________________________________
  1317. -e[r][c,d,e,n,p,s]  Extract files in a sorted order
  1318.  
  1319. This option is used to specify a particular order in which to extract
  1320. files from a .ZIP file. These options are used along with the -e. 
  1321. Each option will cause extraction sorted in ascending order of the 
  1322. particular criteria.
  1323.  
  1324. Sort Options
  1325.  
  1326. r     Reverse sort order
  1327. c     CRC Value
  1328. d     Date
  1329. e     File Extension
  1330. n     File Name
  1331. p     Percentage (ratio) of compression
  1332. s     File Size
  1333.  
  1334. The most useful of these options will normally be extraction in order
  1335. of Date, Name, or Extension. Extraction in value of CRC order is in 
  1336. effect a random extraction.
  1337.  
  1338. In this example the files contained within the .ZIP file ZUCKER would
  1339. be extracted in the order of their names.
  1340.  
  1341.    pkunzip -en zucker.zip
  1342.  
  1343. To reverse the order of extraction combine with the [r].
  1344.  
  1345.    pkunzip -ern zucker.zip
  1346.  
  1347. ________________________________________________________________
  1348. -f    Freshen files in extract directory
  1349.  
  1350. This function is the inverse of the freshen function in PKZIP. When
  1351. this option is used, the PKUNZIP command will be executed normally 
  1352. except that files will be extracted only if:
  1353.  
  1354. -> The files already exist in the target directory or directories
  1355.  
  1356.    AND
  1357.  
  1358. -> The files in the .ZIP file are newer than the files in the
  1359.    extract directory.
  1360.  
  1361. ________________________________________________________________
  1362. -h Display command summary (Help)
  1363.  
  1364. This option will display a brief summary of the command switches
  1365. available.
  1366.  
  1367. ________________________________________________________________
  1368. -j<h,r,s,a>     Specifies masking of file attributes (default)
  1369. -J<h,r,s,a>     Specifies extraction of file attributes
  1370.  
  1371. During normal use, PKUNZIP does not extract hidden, system, read-only,
  1372. or archive files. If there are files stored within a .ZIP file
  1373. that have any of these attributes, you must specify the -J (upper 
  1374. case) option to keep the attributes.
  1375.  
  1376.    pkunzip stuff.zip -Jhsra
  1377.  
  1378. In this example all the attributes would be preserved.
  1379.  
  1380. See Also: -w, -j
  1381.  
  1382. ________________________________________________________________
  1383. -l    Display license information
  1384.  
  1385. This command will display the software license agreement.
  1386.  
  1387. ________________________________________________________________
  1388. -n    Extract only newer files
  1389.  
  1390. This option is the complement of the -u option in PKZIP. When this 
  1391. option is used files will only be extracted if:
  1392.  
  1393. -> They do not exist already in the target directory
  1394.  
  1395.    OR
  1396.  
  1397. -> They are newer than the file already in the target directory
  1398.  
  1399. This means that files which already exist and are more recent than
  1400. those in the .ZIP file will not be overwritten.
  1401.  
  1402. ________________________________________________________________
  1403. -o     Overwrite previously existing files
  1404. -o-    Never overwrite files
  1405.  
  1406. This option will cause PKUNZIP to overwrite any files that already 
  1407. exist in the target directory, without prompting. When this option is
  1408. not specified PKUNZIP will pause if it attempts to extract a file 
  1409. that already exists. It will prompt you:
  1410.  
  1411.    PKUNZIP: Warning! File XXXXXX already exists. Overwrite (y/n/a/r)?
  1412.    
  1413. If you forget to specify the -o when you give the PKUNZIP command, 
  1414. you may respond to the above question with "a" (All). PKUNZIP will
  1415. continue as though a -o had been specified originally.
  1416.  
  1417. The -o- option will cause PKUNZIP to skip any file which already 
  1418. exists, regardless of file sizes or dates.
  1419.  
  1420. ________________________________________________________________
  1421. -p[a/b] [c] [#] Extract files to the printer
  1422.  
  1423. This option is used to extract files from a .ZIP file and send them 
  1424. to a printer (serial or parallel) for printing. The command 
  1425. parameters are defined and several examples are given here to make 
  1426. this complex command clear.
  1427.  
  1428. -pa     Extract to the printer device in ASCII mode
  1429.  
  1430. -pb     Extract to the printer device in BINARY mode
  1431.  
  1432. ASCII mode is commonly used to print text. It will form feed after \
  1433. each file when multiple files are being extracted.
  1434.  
  1435. Binary mode does not send any extra characters, extracting purely the
  1436. contents of the file to the specified device. This is commonly used
  1437. to send fonts or graphics to a laser printer. It will not form feed
  1438. between files. 
  1439.  
  1440. The a and b options cannot be mixed in the same command line.
  1441.  
  1442. In combination with the -pa or -pb option you may specify the port 
  1443. to which PKUNZIP should extract. If only a number between 1 and 9 is
  1444. specified, the extraction will go to that number of printer port 
  1445. (LPT1 through LPT9). If a "c" is specified PKUNZIP will extract to 
  1446. the COM port. The "c" option may also be combined with a number from 
  1447. 1 to 9, specifying COM1 through COM9.
  1448.  
  1449. This example will extract the specified files to the parallel port 
  1450. LPT1.
  1451.  
  1452.    pkunzip sesame.zip *.doc -p
  1453.  
  1454. This example is extracting files in binary mode to a printer on the
  1455. second serial port.
  1456.  
  1457.    pkunzip graphix.zip *.eps -pbc2
  1458.  
  1459. Here the files are extracted to a printer on the second parallel port
  1460. in ASCII mode.
  1461.  
  1462.    pkunzip docs.zip -pa2
  1463.    
  1464. You may specify a value from 1 to 9 for your port designation.   
  1465.    
  1466. ________________________________________________________________
  1467. -q    Enable ANSI comments
  1468. -q-   Ignore ANSI control codes (default)
  1469.  
  1470. By default, ANSI control codes embedded in comments are not displayed
  1471. by PKUNZIP. When the -q option is used these ANSI sequences will be
  1472. output and interpreted by the ANSI device driver if one is present.
  1473.  
  1474. This option can be forced on by default in the configuration file. 
  1475. The configuration option to add is:
  1476.  
  1477.    ANSI=enabled
  1478.  
  1479. The enabling of ANSI control codes in the configuration file may be
  1480. overridden at the command line by using -q-.
  1481.  
  1482. ANSI control codes provide the feature of adding color to text on a
  1483. system which has ANSI.SYS loaded in the CONFIG.SYS.
  1484.  
  1485. **  However, ANSI control codes also perform many other features, 
  1486.     some of which can be potentially hazardous if you do not know the
  1487.     source and contents of the comment. It is for this reason that 
  1488.     PKZIP and PKUNZIP filter out ANSI control codes unless you 
  1489.     explicitly tell them not to.
  1490.  
  1491. PKWARE has created an addition to the ANSI.SYS driver called PKSFANSI
  1492. (PK Safe ANSI). By using this in conjunction with your normal 
  1493. ANSI.SYS you can be sure of receiving only the ANSI characters that 
  1494. you want. PKSFANSI is provided by PKWARE free of charge. It is 
  1495. included on the PKZIP distribution disk.
  1496.  
  1497. See Also: -q
  1498.  
  1499. ________________________________________________________________
  1500. -s[password]       Decrypt files
  1501.  
  1502. This option is used to unscramble (decrypt) the files in a .ZIP file.
  1503. PKZIP has a -s option which is used to encrypt the files. If a 
  1504. password is not specified the user will be prompted for it. When 
  1505. extracting a .ZIP file that has been encrypted, the files will not be
  1506. extracted unless the correct key (password) is included on the 
  1507. command line or entered at the prompt.
  1508.  
  1509.    pkunzip payroll.zip -o -sSecret *.dbf
  1510.  
  1511. **  Notice there is no space between the -s and the encryption key.
  1512.  
  1513. In the previous example, all files with a "dbf" extension will be
  1514. extracted and the key "Secret" applied to them. This will only work 
  1515. if the files have been compressed with the key of "Secret" applied to
  1516. them.
  1517.  
  1518. **  This option is case sensitive. This means that "Secret", "secret"
  1519.     and "SECRET" would be considered different passwords.
  1520.  
  1521. See Also: Using Data Encryption, -s
  1522.  
  1523. ________________________________________________________________
  1524. -t   Test .ZIP file integrity
  1525.  
  1526. This option is used to test files within a .ZIP file in order to 
  1527. verify that they are valid and have not been corrupted. PKUNZIP will 
  1528. perform all the actions that would normally be taken during a .ZIP 
  1529. file extraction, except that files will not be written to disk.
  1530.  
  1531. The data will be extracted and checked against the CRC to ensure it's
  1532. validity. After each file is checked it's name will be displayed with
  1533. an "OK".
  1534.  
  1535.    C:\PKSTUFF>pkunzip zc102 -t
  1536.  
  1537.    Searching ZIP: ZC102.ZIP - PKWARE Support BBS (414)354-8670
  1538.    Testing: ZC.DOC        OK
  1539.    Testing: ZC.EXE        OK
  1540.    Testing: ORDER.FRM     OK
  1541.    Testing: VER-HIST.TXT  OK
  1542.  
  1543. In this example a command is issued which performs a test on the .ZIP
  1544. file "zc102". As each file is tested its name is displayed. Note that
  1545. the .ZIP file comment is displayed.
  1546.  
  1547. If you test a file that is not a .ZIP file, or specify particular 
  1548. files within the .ZIP file that do not exist, you will receive the
  1549. message:
  1550.  
  1551.    PKUNZIP: (E11) No file(s) found.
  1552.  
  1553. Testing a .ZIP file with errors would produce a display something 
  1554. like this:
  1555.  
  1556.    Searching ZIP: PROBLEM.ZIP
  1557.    Testing: WORLD.M~      PKUNZIP: (W15) Warning! file fails CRC check
  1558.    Testing: CORELDRW.BPT  OK
  1559.  
  1560.    PROBLEM.ZIP has errors!
  1561.  
  1562. Normally, a CRC failure as above indicates that a file has been 
  1563. damaged either in storage or transmission. For instructions on 
  1564. attempting to repair a .ZIP file that has been corrupted, see 
  1565. PKZIPFIX in the Troubleshooting section.
  1566.  
  1567. See Also: Troubleshooting, F.A.Q.
  1568.  
  1569. ________________________________________________________________
  1570. -v[b][r,c|d|e|n|p|s][m]         View [brief] file information
  1571. -vt[m]                          View Technical file information
  1572.  
  1573. The -v option for PKUNZIP is the same as the -v option for PKZIP,
  1574. with one exception. In PKUNZIP the `c' option for sorting refers to 
  1575. the CRC value. For PKUNZIP this option refers to the Comment of a 
  1576. file.
  1577.  
  1578. For complete information, please see the -v option in the PKZIP
  1579. Command Reference.
  1580.  
  1581. ________________________________________________________________
  1582. -x<filespec>    Exclude files from extraction
  1583. -x@list.txt     Exclude list of files from extraction
  1584.  
  1585. By specifying a -x as part of the PKUNZIP command, you may prevent a
  1586. file or group of files from being extracted. Using -x with a list 
  1587. file will allow you to exclude a list of files from extraction.
  1588.  
  1589.    pkunzip fd201.zip -x*.doc
  1590.  
  1591. In this example all files are extracted from the .ZIP file 
  1592. "fd201.zip" except for those with a ".doc" extension.
  1593.  
  1594. -x may be used more than once on the command line, and may be used in
  1595. combination with specific filespecs and list files.
  1596.  
  1597. ________________________________________________________________
  1598. -$   Restore volume label
  1599.  
  1600. This command is used to restore any volume label that has been stored
  1601. in the .ZIP file. It is important to remember that the PKZIP command
  1602. used to store a volume label does not store a drive letter along with
  1603. the label. Upon extraction, the volume label will be assigned to the
  1604. target drive.
  1605.  
  1606.    C:\>pkunzip davebk.zip -$ a:
  1607.  
  1608. This example will extract the contents of "davebk.zip" to the A: 
  1609. drive. If a volume label was stored as part of the .ZIP file, the
  1610. volume label for the floppy in drive A: will be reset to the one 
  1611. contained in davebk.zip.
  1612.  
  1613. ________________________________________________________________
  1614. -@filename.txt     Generate LIST file
  1615.  
  1616. Please note that this option is different from using a list file. 
  1617. When a list file is to be read by PKZIP there is no dash in front of
  1618. the @.
  1619.  
  1620. Using this option will cause a list file to be generated using the 
  1621. specified file name instead of a normal PKUNZIP operation being 
  1622. performed. The output file will be a plain ASCII file with one file 
  1623. name per line, and will be identical to the listing of files PKUNZIP
  1624. would have extracted had the -@ option not been used.
  1625.  
  1626.    pkunzip underdem.zip -@showme.txt
  1627.  
  1628. This would create a list file called "showme.txt" containing a list 
  1629. of all the files present within the .ZIP file. File specs may be used
  1630. in conjunction with this type of command, in the same manner as a 
  1631. normal extraction command. Also the -e option may be used for 
  1632. sorting. The following example creates an alphabetized list file of
  1633. only the ".doc" files within it:
  1634.  
  1635.    pkunzip manuals.zip -en *.doc -@docs.txt
  1636.  
  1637. The extension of ".txt" on a list file is not mandatory, but 
  1638. recommended editing ease.
  1639.  
  1640. See Also: Using List Files, @, -@
  1641.  
  1642. PKUNZIP as an Environment Variable
  1643.  
  1644. PKUNZIP includes the ability to use an environment variable as a 
  1645. continuation of the command line. An option, or number of options may
  1646. be specified by an environment variable. PKUNZIP will treat the 
  1647. variables as if they were passed on the command line. For example:
  1648.  
  1649.    set PKUNZIP=-)
  1650.  
  1651. This example would disable DPMI usage. Be aware that since the 
  1652. PKUNZIP environment variable is a continuation of the command line,
  1653. it will supersede any preceding option on the command line.
  1654.  
  1655. See Also: Disable DPMI Support
  1656.  
  1657. Creating Self-Extracting Files
  1658.  
  1659. The PKZIP utilities offer a self-extraction capability. This means 
  1660. that you can make a .ZIP file into an .EXE file. This file will in 
  1661. effect be able to extract itself. A PKSFX (PK-Self Extracting) file
  1662. consists of a .ZIP file which has been transformed into a 
  1663. self-extracting file by the utility ZIP2EXE. There is no utility or 
  1664. file called "SFX" or "PKSFX", but the self-extracting file will show
  1665. PKSFX on the banner in the same manner as PKUNZIP:
  1666.  
  1667.    PKSFX (R)  FAST!  Self Extract Utility  Version 2
  1668.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKSFX/h for help
  1669.    PKSFX Reg. U.S. Pat. and Tm. Off.
  1670.  
  1671. In order to create a self-extracting file, you must first create a 
  1672. .ZIP file. Once this .ZIP file is created, use the ZIP2EXE utility to
  1673. convert this .ZIP file into an .EXE file.
  1674.  
  1675.    D:\>zip2exe test.zip
  1676.  
  1677.    ZIP2EXE (tm)     Self-Extract Creator     Version 2
  1678.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. ZIP2EXE/h for help
  1679.  
  1680.    TEST.ZIP => TEST.EXE
  1681.  
  1682.    D:\>
  1683.  
  1684. As you can see, an .EXE file by the same name as the .ZIP file is 
  1685. created. The original .ZIP file is not deleted.
  1686.  
  1687. The Junior Self-Extractor
  1688.  
  1689. **  Turning a .ZIP file into an .EXE file increases the size because
  1690.     of the included extraction program. The added size is 
  1691.     approximately 13.5K bytes. If space is at a premium, and you are
  1692.     willing to sacrifice functionality for size, try PKSFX Junior.
  1693.  
  1694. The PKSFX Junior is somewhat smaller, and offers very few command
  1695. line options due to this reduced size. The options which are 
  1696. available with the PKSFX Junior are indicated on the PKSFX command
  1697. summary.
  1698.  
  1699. To create a PKSFX Junior file, add the command line option -j when
  1700. performing the ZIP2EXE step.
  1701.  
  1702.    D:\>zip2exe -j test.zip
  1703.  
  1704. **  PKSFX Junior adds approximately 3K bytes to the .ZIP file.
  1705.  
  1706. PKSFX Junior can handle a maximum of 512 files. Although PKSFX Junior
  1707. has this limit to the number of files it can handle, there is no 
  1708. limit to the file size.
  1709.  
  1710. The PKUNZIP Junior (PKUNZJR.COM) program is an extremely small 
  1711. stand-alone extraction program. It is used in the same manner as
  1712. PKUNZIP but it has only the functionality of the PKSFX Junior 
  1713. self-extractor.
  1714.  
  1715.     PKUNZIP(R)  FAST!  Mini Extract Utility  Version 2
  1716.     Copr. 1989-1999 PKWARE Inc. All Rights Reserved.
  1717.     PKUNZIP Reg. U.S. Pat. and Tm. Off.
  1718.  
  1719. Usage:  pkunzjr [-o] filename[.zip] [output_path]
  1720.  
  1721. **  When using PKUNZJR or PKSFX Junior, remember to end your output
  1722.     path with a : or a \. Because PKUNZJR and PKSFX Junior were
  1723.     designed to be as small as possible, please note that they
  1724.     perform minimal error checking.
  1725.  
  1726. PKUNZIP Junior has one option, -o. This option is the same as that
  1727. for PKUNZIP (Senior).
  1728.  
  1729. PKUNZIP Junior accepts the .ZIP file name on the command line, and
  1730. may optionally accept an output path. PKUNZIP Junior cannot extract
  1731. specific files, but must extract the entire .ZIP file.
  1732.  
  1733. PKUNZIP Junior cannot extract a file containing more that 512 files,
  1734. and does not support multiple volume (spanned) .ZIP files.
  1735.  
  1736. **  PKUNZJR and PKSFX Junior do NOT presently provide support for
  1737.     Long File Names (i.e. LFN). 
  1738.     
  1739. PKSFX Command Summary
  1740.  
  1741. Command line syntax and options are the same as PKUNZIP. The options
  1742. listed below are offered by a self-extracting file.
  1743.  
  1744. Syntax:        pksfx [option] [d:\path] [file]* [file]*
  1745.  
  1746. PKSFX indicates the name of the self-extracting file you are 
  1747. executing. No options are necessary if you wish to simply extract all
  1748. files to the current directory. If you wish to extract the contents 
  1749. to another directory, indicate the drive and/or path the files should
  1750. extract to. To extract only particular files, indicate the name(s) 
  1751. at the end of the command line.
  1752.  
  1753. Options:
  1754.  
  1755. @listfile.txt            Specify list of files for extraction*
  1756. -c[m]                    Extract to console*
  1757. -d                       Re-create directories stored in .ZIP file*
  1758. -l                       Display software license agreement*
  1759. -n                       Extract only newer files*
  1760. -o                       Overwrite existing files
  1761. -p[a|b][c][#]            Extract to printer*
  1762. -s<password>             Decrypt with password*
  1763. -t                       Test file integrity*
  1764.  
  1765. *Indicates options not available in the PKSFX Junior and PKUNZIP 
  1766. Junior programs.
  1767.  
  1768. Options should be placed after the self-extracting files name. If 
  1769. multiple options are used they must be separated by a space and each
  1770. must have its own option indicator (either - or /).
  1771.  
  1772. All options behave in the same manner as they do with PKUNZIP, with
  1773. one exception. The -s option cannot accept keyboard entry. A password
  1774. entered with a self-extracting file must be able to be entered from 
  1775. the command line.
  1776.  
  1777. Modifying a Self-Extracting File
  1778.  
  1779. A self-extracting file can be operated upon by PKZIP and PKUNZIP in a
  1780. manner identical to normal .ZIP files. You will need to specify the 
  1781. full file name including the EXE extension.
  1782.  
  1783.    C:\>pkzip test.exe -f d:\*.*
  1784.  
  1785. There is no difference between operating on a self-extracting file 
  1786. and a normal .ZIP file.
  1787.  
  1788. A Note About Self-Extracting Files
  1789.  
  1790. When you create a self-extracting file, you are adding a copy of the
  1791. extraction code to that file. Since this code duplicates the 
  1792. functionality of the PKUNZIP program, it makes sense to use the 
  1793. self-extractor only when PKUNZIP will not be present on the machine
  1794. to extract the file.
  1795.  
  1796. If you create many self-extracting files for your own use, you will
  1797. be using more space unnecessarily. Therefore it is recommended that
  1798. you only use the self-extracting capability when you are sending a 
  1799. file to someone that you know does not have a compatible PKUNZIP.
  1800.  
  1801. Stripping the PKSFX Code
  1802.  
  1803. You may have occasion to want to keep the contents of a 
  1804. self-extracting file, but wish to turn it back to a normal .ZIP file.
  1805.  
  1806. ZIP2EXE offers an option to reverse the process. This is done with
  1807. the command line switch -e:
  1808.  
  1809.    F:\>zip2exe -e test.exe
  1810.  
  1811. ZIP2EXE will recognize normal and PKSFX Junior files automatically.
  1812.  
  1813. Sending a Self-Extractor
  1814.  
  1815. If you are sending a PKSFX file to someone who is not familiar with 
  1816. data compression and/or PKWARE products, we recommend you tell them 
  1817. to do the following:
  1818.  
  1819. With PKSFX Junior:
  1820.  
  1821. 1) Create a temporary directory on the hard drive to hold the files
  1822.    contained in the self-extracting file.
  1823.  
  1824.    C:\>md temp
  1825.  
  1826. 2) Change to the directory that was just created.
  1827.  
  1828.    C:\>cd temp
  1829.    C:\temp>
  1830.  
  1831. 3) Place the diskette containing the self-extracting file into the A:
  1832.    or B: drive. 
  1833.    
  1834. 4) Type the name of the self-extractor, including the path to the 
  1835.    floppy drive.
  1836.  
  1837.    C:\temp>a:test
  1838.  
  1839. With normal PKSFX:
  1840.  
  1841. 1) Place the diskette containing the self-extracting file into the A:
  1842.    or B: drive and change to that drive.
  1843.  
  1844.    C:\>a:
  1845.  
  1846. 2) Type in the following;
  1847.  
  1848.    A:\>test -d c:\temp
  1849.  
  1850. You may also wish to create a batch file or text file on the floppy
  1851. disk containing the above steps. The contents of the self-extractor
  1852. will be placed into this temporary directory. They can then examine 
  1853. or move the files at their leisure. The -d option ensures that any 
  1854. subdirectory information included will be re-created, and causes 
  1855. PKSFX to create the temporary directory for the user.
  1856.  
  1857. A site license is required by a corporation, company, educational
  1858. institution, or governmental agency for use of PKWARE software on the
  1859. total number of computers that will use the software.
  1860.  
  1861. Use of PKWARE programs for personal use is covered by your purchase 
  1862. of a single license for PKZIP. A Distribution License is required by
  1863. a corporation, company, educational institution or governmental 
  1864. agency to use PKWARE programs to facilitate the distribution of 
  1865. software to outside parties.
  1866.  
  1867. Please note that if a self-extracting file is used, a Distribution
  1868. License is required, because PKWARE code is distributed in the form
  1869. of the PKSFX program combined with the file(s) being distributed.
  1870.  
  1871. Please contact PKWARE for more information if you intend to 
  1872. distribute self-extracting files.
  1873.  
  1874. Confirm before extract
  1875.  
  1876. If a PKSFX file has a .ZIP file comment attached, this comment is 
  1877. displayed before the file is extracted. By embedding a Control-S
  1878. character (Hex 13, ASCII 19), you instruct PKSFX to pause. The 
  1879. display will look like this:
  1880.  
  1881.    Searching EXE: XXXXX.EXE -
  1882.    .
  1883.    .
  1884.    .
  1885.    (ZIP file comment text)
  1886.    .
  1887.    .
  1888.    .
  1889.    Do you want to extract these files now (y/n)?
  1890.  
  1891. Press 'Y' to extract the files, 'N' o abort. Note that the Control-S
  1892. character is not displayed. This control character may be located 
  1893. anywhere within the comment.
  1894.  
  1895. If the user aborts by pressing 'N', an exit code of  12 will be 
  1896. returned by PKSFX. PKSFX Junior will return an exit code of 8.
  1897.  
  1898. See: PKZIP -z for more information on .ZIP file comments, Appendix D
  1899. for more information on exit codes.
  1900.  
  1901. Memory Requirements
  1902.  
  1903. The memory requirements for PKSFX are similar to those of PKUNZIP.
  1904.  
  1905. PKSFX Junior, and PKUNZIP Junior require a minimum of 50K RAM free,
  1906. and a maximum of 64K RAM free.
  1907.  
  1908. Using List Files
  1909.  
  1910. PKZIP, PKUNZIP and PKSFX offer a powerful feature; list files. List
  1911. files are simply listings of files. They are used to simplify command
  1912. lines, and make repetitive tasks less troublesome.
  1913.  
  1914. List files can allow you to perform some complex tasks which 
  1915. otherwise would not be possible. List files can not only be read, but
  1916. can also be created by PKZIP and PKUNZIP. Also, list files can be 
  1917. created and used by other programs, such as StupenDOS", PKZOOM" and 
  1918. PKZMENU".
  1919.  
  1920. PKZIP and PKUNZIP use List Files in two ways: files to be included 
  1921. and files to be excluded. If a List File is being created, the 
  1922. contents will reflect a listing of those files which would have been
  1923. added, deleted, extracted or listed during a normal PKZIP/PKUNZIP 
  1924. operation.
  1925.  
  1926. List File text may contain:
  1927.  
  1928. -> Comments
  1929. -> File Names
  1930. -> Wild Cards
  1931. -> Exact Path Names and Files
  1932. -> Drive Letters
  1933.  
  1934. List File text consists of plain ASCII. These files may be created
  1935. using any text editor which can produce plain ASCII files, sometimes
  1936. referred to as "DOS Text".
  1937.  
  1938. All of the following lines would be valid in a List File:
  1939.  
  1940.    clowns.bmp
  1941.    *.exe
  1942.    project.*
  1943.    MSLR????.QWK
  1944.    ;This is a comment
  1945.    emp\census.txt  ;This is also a valid comment
  1946.    D:\data\february.wk1
  1947.    D:\games\majong\*.*
  1948.    D:\QWK\*.REP
  1949.  
  1950. A line in a list file is treated in an identical manner to files 
  1951. specified on the command line. Note that only files and comments are
  1952. valid in a list file. Both forward and backward slashes may be used 
  1953. in a list file.
  1954.  
  1955. Reading List Files
  1956.  
  1957. A list file can be used in two different ways with PKZIP and PKUNZIP:
  1958.  
  1959. -> Files to be acted upon in a ZIP operation.
  1960. -> Files to be excluded from a ZIP operation.
  1961.  
  1962. List files are usually specified with an @ (ASCII 64, normally above
  1963. the 2 on your keyboard). The list file character can be changed by
  1964. modifying the configuration file. Please note that the list file
  1965. generation option (-@)) will also change to the selected list file
  1966. character. Avoid using a character already used for another option.
  1967.  
  1968. The simplest example of using a List File is when a .ZIP file is 
  1969. going to be created containing the files specified. If a List File 
  1970. called "test.txt" was created containing the following lines:
  1971.  
  1972.    *.COM
  1973.    300Z.TXT
  1974.  
  1975. And then used in a PKZIP command:
  1976.  
  1977.    C:\>pkzip sample.zip @test.txt
  1978.  
  1979. All .COM files in the current directory would be added to the .ZIP
  1980. file "SAMPLE.ZIP", as well as the file "300Z.TXT" if it existed.
  1981.  
  1982. The contents of a List File that is specified are included. The 
  1983. contents of a List File specified after a -x are excluded. Multiple
  1984. List Files to be included and excluded may be specified on the 
  1985. command line in addition to file names being listed alone on the 
  1986. command line.
  1987.  
  1988. Following are several example usages of List Files, each with a
  1989. short description of what action would be caused.
  1990.  
  1991.    C:\>pkzip first.zip @abc.txt -x@xyz.txt
  1992.  
  1993. All files specified in "abc.txt" would be added to the .ZIP file 
  1994. "first.zip". Any files that match the file specification in "xyz.txt"
  1995. would not be added.
  1996.  
  1997.    C:\>pkzip second.zip -d @abc.txt -x*.txt
  1998.  
  1999. All files listed in "abc.txt" would be deleted from the .ZIP file 
  2000. "first.zip". Any files matching the "*.txt" specification would not
  2001. be deleted.
  2002.  
  2003.    C:\>pkzip -vc third.zip @xyz.txt
  2004.  
  2005. A file listing with comments will be shown for all files in
  2006. "third.zip" which are listed in "xyz.txt"
  2007.  
  2008.    C:\>pkzip -rp backup.zip *.* -x@noback.txt
  2009.  
  2010. A .ZIP file containing the entire drive would be created, excluding
  2011. any files which match those in "noback.txt"
  2012.  
  2013. **  Don't forget to use the @ in front of a list file name. If you do
  2014.     not use the @, the list file itself will be added to the .ZIP
  2015.     file.
  2016.  
  2017. Generating List Files
  2018.  
  2019. The Generation of list files can have many uses. Some suggested ways
  2020. to use this feature are:
  2021.  
  2022. -> Dividing Files to be Zipped into logical groups
  2023. -> Easy exclusion of files already Zipped from a PKZIP operation
  2024. -> Complex Batch File operations
  2025.  
  2026. Keep in mind that a plain ASCII list file can be fed through other 
  2027. programs, like 'sort', and can be used by some other applications 
  2028. such as StupenDOS or PKZMENU.
  2029.  
  2030. The list file generated by PKZIP or PKUNZIP when the -@ option is
  2031. used contains the names of all the files which would have been acted
  2032. upon in a normal ZIP operation.
  2033.  
  2034. In a simple PKZIP command, the list file will contain a listing of
  2035. all the files which would have been archived by PKZIP. If the list
  2036. file is generated with a freshen or update command, the list file 
  2037. will contain those files which would have been added/updated in the
  2038. .ZIP file.
  2039.  
  2040. To generate a list file of your entire C: hard drive:
  2041.  
  2042.    C:\>pkzip dummy -rp -@cdrive.txt
  2043.  
  2044. Note that the "dummy" .ZIP file name is necessary to have a valid
  2045. PKZIP command.
  2046.  
  2047. The list file generated by PKUNZIP will contain those files which 
  2048. would have been extracted.
  2049.  
  2050. Using List files to debug
  2051.  
  2052. You may find the generation of list files helpful when you are 
  2053. testing batch files. Let's say you have created a batch file which
  2054. should compress several files as a backup procedure. Perhaps these 
  2055. files are very large and it takes several minutes to compress each
  2056. one. This means that if you were to test the batch file simply by
  2057. running it, it could take quite a while to find a problem and fix it.
  2058.  
  2059. By generating a list file of what would have been compressed, you can
  2060. check very quickly to make certain that the proper files are being 
  2061. selected.
  2062.  
  2063. List file size
  2064.  
  2065. The size of a list file that may be processed is limited. The total
  2066. size of the list file depends upon two factors.
  2067.  
  2068. The first is path storage. If paths are specified in the list file 
  2069. and are NOT stored with the -P option, the list file size is limited
  2070. to 7000 bytes.
  2071.  
  2072. If paths are specified and ARE stored, the list file size is limited
  2073. to 9700 bytes.
  2074.  
  2075. If a list file has drive letters specified as part of the file names
  2076. within the file, the maximum list file size is reduced. When paths
  2077. are not stored the maximum List File size is 5100 bytes. When they 
  2078. are stored the maximum List File size is 6600 bytes.
  2079.  
  2080. +-------------------------------------------------------------------+
  2081. | List File Size Limits      |  No Path Storage | Path Storage (-P) |
  2082. |----------------------------+------------------+-------------------|
  2083. | Drive Letters in List File |    5100 bytes*   |       6600        |
  2084. |----------------------------+------------------+-------------------|
  2085. | No Drive Letter            |       7000       |       9700        |
  2086. +-------------------------------------------------------------------+
  2087. * These numbers are approximate and may vary depending on your
  2088.   configuration.
  2089.  
  2090. If the list file is too large, you will receive an "Insufficient
  2091. Memory" error. If you have a list file which is too big, you may
  2092. split it into two or more smaller list files and perform multiple 
  2093. PKZIP operations.
  2094.  
  2095. Be Creative
  2096.  
  2097. The list file functions give you a whole new level of power with
  2098. PKZIP. When defining a problem and searching for a solution, don't
  2099. forget to consider the power of these features.
  2100.  
  2101. Using the list file features can give you access to new abilities
  2102. PKZIP would not have inherently. Here are some example situations:
  2103.  
  2104. Removing Old Files
  2105.  
  2106. Suppose a .ZIP file 'work' contains 45 files. The contents of 'work'
  2107. are extracted to a work directory and several of the files are 
  2108. deleted. How do you delete these files that are no longer necessary
  2109. from the 'work' archive? Doing it manually would be very tedious.
  2110.  
  2111. First create a list of the contents of the directory. By redirecting
  2112. these file names to a list file you can capture an image of what 
  2113. needs to be kept in the .ZIP file.
  2114.  
  2115.    C:\work>pkzip dummy.zip *.* -@keep.txt
  2116.  
  2117. The list file 'keep.txt' now contains the files we want preserved in
  2118. the .ZIP file, files not in this list will be deleted:
  2119.  
  2120.    C:\work>pkzip work.zip -d *.* -x@keep.txtC:\work>del keep.txt
  2121.  
  2122. The WORK.ZIP file now contains only those files which are also in the
  2123. work directory.
  2124.  
  2125. Sorting .ZIP Files
  2126.  
  2127. Files will be added to a .ZIP file in the order that they are listed
  2128. in the list file. This can be useful if you want the contents of a 
  2129. .ZIP file to be in a particular order. After generating a list file,
  2130. bring it into an editor and modify it to meet your need. To create a
  2131. .ZIP file that is sorted in alphabetical order, you would use the
  2132. following series of commands:
  2133.  
  2134.    C:\work>pkzip test.zip *.* -@test.txt
  2135.    C:\work>sort < test.txt > sort.txt
  2136.    C:\work>pkzip test.zip @sort.txt
  2137.    C:\work>del test.txt sort.txt
  2138.  
  2139. The SORT command used above is a standard DOS program. See your DOS
  2140. manual for further information on this useful feature.
  2141.  
  2142. Using Data Encryption
  2143.  
  2144. The PKZIP utilities offer the ability to protect stored data through
  2145. encryption. You should use PKZIP's encryption ability in place of any
  2146. other encryption on files you intend to compress.
  2147.  
  2148. This encryption ability has been made integral to the function of 
  2149. PKZIP and PKUNZIP to prevent the encryption from interfering with 
  2150. PKZIP's ability to compress. If you feel the need to encrypt your
  2151. data to protect it, and are intending to compress the data as well,
  2152. you should then use the encryption of PKZIP. Using the encryption 
  2153. capability of a spreadsheet or database program will prevent PKZIP
  2154. from compressing the data efficiently.
  2155.  
  2156. Encryption is enabled in PKZIP by use of the -s option. The 
  2157. encryption key, sometimes referred to as a "password", follows
  2158. directly after the -s
  2159.  
  2160.    C:\>pkzip test.zip -ssecret d:\payroll\*.dbf
  2161.  
  2162. Above, all the "dbf" files from the payroll directory have been
  2163. compressed into a .ZIP file called "test.zip". During the compression
  2164. they are also being encrypted based upon the key of "secret".
  2165.  
  2166. The encryption scheme used by PKZIP is complex and robust. The
  2167. encryption key is used to generate a number of binary encryption keys
  2168. which are in turn used to determine how the compressed data is 
  2169. altered. Neither the original key or the derived keys are stored with
  2170. the .ZIP file, nor are they retained anywhere else for that matter. 
  2171. This means you must remember the encryption key.
  2172.  
  2173. +----------------------------------------------------------------+
  2174. | IF YOU LOSE THE ORIGINAL ENCRYPTION KEY YOU MAY NEVER BE ABLE  |
  2175. | TO EXTRACT THE FILE(S).                                        |
  2176. +----------------------------------------------------------------+
  2177.  
  2178. It is also not possible to derive the original keys by examining the
  2179. compressed data, or by analysis of original data versus encrypted 
  2180. data. This means that if you loose the key, there is no way to find
  2181. it. PKWARE Inc. has no special means or technology for deriving the
  2182. key or extracting the data without the key.
  2183.  
  2184. Also note that a minute change in the key completely alters the
  2185. encryption scheme. This means that the key must be exact. Any change
  2186. in spelling, capitalization or punctuation causes a key to be 
  2187. completely different. Be certain that you know what the encryption 
  2188. key is and will not lose, forget, or mistype it.
  2189.  
  2190. +------------------------------------------------+
  2191. | DO NOT TRUST YOUR MEMORY ALONE. WRITE IT DOWN. |
  2192. +------------------------------------------------+
  2193.  
  2194. Capitalization is also important. "Secret", "secret" and "SECRET" are
  2195. all completely different encryption keys. You should realize that a 
  2196. person who knows you could attempt to extract a file you have 
  2197. encrypted by using words they think you will use or can remember 
  2198. easily. This would be items such as:
  2199.  
  2200. -> Your Spouse's name
  2201. -> Your Social Security Number
  2202. -> Your Address
  2203. -> Your Dog's name
  2204.  
  2205. Long Keys
  2206.  
  2207. It is possible to have extremely long keys, or keys with spaces in 
  2208. them. The length of the encryption key is limited only by the length
  2209. of a DOS command line. To use a key with spaces in it, you must 
  2210. enclose the password in quotation marks:
  2211.  
  2212.    C:\>pkzip test.zip -s"mary had a little lamb" *.dbf
  2213.  
  2214. Passwords of this sort may be easy to remember, while proving to be 
  2215. very secure. Remember to use phrases that are not obvious to someone
  2216. who knows you.
  2217.  
  2218. Complex Keys
  2219.  
  2220. If PKZIP or PKUNZIP is specified with only the -s and no encryption 
  2221. key following, the user is prompted for an encryption key.
  2222.  
  2223.    C:\>zip test -s *.com
  2224.  
  2225.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  2226.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKZIP/h for help
  2227.    PKZIP Reg. U.S. Pat. and Tm. Off.  Patent No. 5,051,745
  2228.  
  2229.    Password ? ******
  2230.  
  2231.    -80486 CPU detected.
  2232.    -XMS version 2.00 detected.
  2233.    -Novell Netware version 3.11 detected.
  2234.    -Using Super Fast Compression.
  2235.  
  2236.    Creating ZIP: TEST.ZIP
  2237.    Adding: COMMAND.COM  Deflating (36%), done.
  2238.    Adding: 4DOS.COM     Deflating (34%), done.
  2239.  
  2240. Asterisks are displayed in place of each character as you enter the
  2241. encryption key. This feature offers added security in the event 
  2242. someone is watching as you type in the password.
  2243.  
  2244. This method of entry may be easier or more comfortable to use. This 
  2245. also allows you to enter characters for the encryption key which 
  2246. cannot normally be entered from the keyboard. 
  2247.  
  2248. In order to enter one of these characters, hold down the [ALT] key
  2249. and type the ASCII value of the character you wish to enter on the
  2250. number pad. When you release the [ALT] key the character equal to the
  2251. value typed will be entered into the Password field.
  2252.  
  2253. The [TAB] key and other keys which could not normally be used since
  2254. they would interfere with the PKZIP command line can be used when the
  2255. password is entered in this manner.
  2256.  
  2257. Passwords entered in this manner are limited to a maximum length of 
  2258. 64 characters.
  2259.  
  2260. Multiple Keys
  2261.  
  2262. Passwords can be used not only when creating a new .ZIP file but also
  2263. when files are being added to an already existing .ZIP file. Let's
  2264. assume you have a .ZIP file called "keyfun.zip" and it contains two 
  2265. files:
  2266.  
  2267.    june91.wk1
  2268.    june91.wp
  2269.  
  2270. We'll also say that neither of these files are encrypted. Now let's
  2271. add another file to this .ZIP file, and encrypt it while doing so:
  2272.  
  2273.    C:\>pkzip keyfun.zip -sPiZzA sensitiv.txt
  2274.  
  2275. This will add the file "sensitiv.txt" with a encryption key of 
  2276. "PiZzA".
  2277.  
  2278. Now add another file to the same .ZIP file with a different key:
  2279.  
  2280.    C:\>pkzip keyfun.zip -sDukeNUKE diary.txt
  2281.  
  2282. At this point you have four files in "keyfun.zip". Two are not
  2283. encrypted at all, and two are, but with different keys. A view of the
  2284. file would appear like this:
  2285.  
  2286.    C:\>pkunzip -v keyfun
  2287.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  2288.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  2289.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  2290.  
  2291.    -80486 CPU detected.
  2292.    -EMS version 4.00 detected.
  2293.    -XMS version 3.00 detected.
  2294.  
  2295.    Searching ZIP: KEYFUN.ZIP
  2296.  
  2297.    Length  Method     Size Ratio    Date     Time    CRC-32  Attr  Name
  2298.     -----  -------   -----  ---   --------   -----  -------- ----  ------------
  2299.     11664  Deflate    6937  41%  01-30-1992  11:57  183b5606 --w-  JUNE91.WK1
  2300.     76812  Deflate   23404  70%  01-30-1992  12:03  971fea04 --w-  JUNE91.WP
  2301.      5327  Deflate    2082  61%  10-14-1991  11:25  924efc72 --w-* SENSITIV.TXT
  2302.      3664  Deflate    1654  55%  04-04-1991  10:32  c8d5c9cf --w-* DIARY.TXT
  2303.     -----            -----  ---                                  ------------
  2304.     97467            34077  66%                                        4
  2305.  
  2306. Notice the * next to the Attribute column above. This indicates that
  2307. a file is encrypted.
  2308.  
  2309. Now, if you try to extract the file with no decryption key present
  2310. you will only be able to extract the two files that are not 
  2311. encrypted:
  2312.  
  2313.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  2314.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  2315.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  2316.  
  2317.    -80486 CPU detected.
  2318.    -EMS version 4.00 detected.
  2319.    -XMS version 3.00 detected.
  2320.  
  2321.    Searching ZIP: KEYFUN.ZIP
  2322.     Inflating: JUNE91.WK1
  2323.     Inflating: JUNE91.WP
  2324.    PKUNZIP: (W12) Warning! Skipping encrypted file: SENSITIV.TXT
  2325.    PKUNZIP: (W12) Warning! Skipping encrypted file: DIARY.TXT
  2326.  
  2327. Extracting the file with a decryption key will extract any file that
  2328. the key is valid for, but an error will be reported on any files
  2329. with a different key.
  2330.  
  2331.    C:\>pkunzip keyfun -sPiZzA -o
  2332.  
  2333.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  2334.    Copr. 1989-1999 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  2335.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  2336.  
  2337.    -80486 CPU detected.
  2338.    -EMS version 4.00 detected.
  2339.    -XMS version 3.00 detected.
  2340.  
  2341.    Searching ZIP: KEYFUN.ZIP
  2342.     Inflating: JUNE91.WK1
  2343.     Inflating: JUNE91.WP
  2344.     Inflating: SENSITIV.TXT
  2345.    PKUNZIP: (W14) Warning! Incorrect password for file: DIARY.TXT
  2346.  
  2347. How secure is PKZIP encryption?
  2348.  
  2349. There are many factors to consider when using PKZIP encryption. There
  2350. are also several levels and implications to consider.
  2351.  
  2352. The first level of security is physical. Who has access to the .ZIP 
  2353. file? You need to be aware of who might be able to get to sensitive
  2354. data located on your machine, on your floppies, or on your personal 
  2355. network drive.
  2356.  
  2357. The potential hazards of using data encryption cannot be stressed 
  2358. strongly enough. Make certain that you will be able to recall what
  2359. was used for the encryption key. Also be certain that all people who
  2360. need to be able to access this data have agreed upon how the 
  2361. encryption will be performed.
  2362.  
  2363. All forms of encryption, including the one used by PKZIP, are open to
  2364. "brute force" attacks. This form of attack is simply the trying of
  2365. many passwords until you find one that works.
  2366.  
  2367. In order to help you protect your data from this sort of attack we 
  2368. present figures on how long a brute force attack, using a computer, 
  2369. would take. The scenario we present here assumes that your encrypted
  2370. .ZIP file is being assaulted by a program which is designed
  2371. specifically to do this.
  2372.  
  2373. An encryption key may contain any valid ASCII character, not just A-Z
  2374. in upper and lower case and punctuation marks. However, most people
  2375. will just use the latter. The following table is indexed by the 
  2376. complexity of the password. Across the top is the range of characters
  2377. used. The simplest assumes that only lower case letters from a to z 
  2378. were used. The next column assumes that all printable characters were
  2379. used (a to z in upper and lower case, punctuation, brackets, etc.). 
  2380. The last column assumes a password containing the complete range of 
  2381. ASCII characters.
  2382.  
  2383. The vertical index is the length of the password used. This impacts 
  2384. the strength of the password greatly. Think of it as a combination
  2385. lock. A combination lock with only two numbers would be much easier
  2386. to break than one with three or four numbers.
  2387.  
  2388. We recommend that if you need a truly secure encrypted file, use an 
  2389. encryption key of at least six characters.
  2390.  
  2391. The last assumption made is about the speed of the attacking program.
  2392. For the purposes of this table, we assume that 10,000 possible keys 
  2393. are being attempted per second.
  2394.  
  2395.                       Password "Hacking" Time
  2396.   +-------------------------------------------------------------+
  2397.   |  Key   | 26 characters | 96 characters |   256 characters   |
  2398.   | Length |    (a-z)      | (a-z,A-Z,etc) |    (All ASCII)     |
  2399.   |--------+---------------+---------------+--------------------|
  2400.   |    3   | 2 seconds     | 1 minute      |  27 minutes        |
  2401.   |--------+---------------+---------------+--------------------|
  2402.   |    4   | 1 minute      | 2.35 hours    |  4 days            |
  2403.   |--------+---------------+---------------+--------------------|
  2404.   |    5   | 19 minutes    | 9 days        |  3 years           |
  2405.   |--------+---------------+---------------+--------------------|
  2406.   |    6   | 8.6 hours     | 2 years       |  891 years         |
  2407.   |--------+---------------+---------------+--------------------|
  2408.   |    7   | 9 days        | 238 years     |  2283 centuries    |
  2409.   |--------+---------------+---------------+--------------------|
  2410.   |    8   | 241 days      | 228 centuries |  584,546 cent.     |
  2411.   |--------+---------------+---------------+--------------------|
  2412.   |    9   | 17 years      | 21,945 cent.  |  149,643,989 cent. |
  2413.   |--------+---------------+---------------+--------------------|
  2414.   |   10   | 447 years     | 2,106,744     |  38,308,861,211    |
  2415.   |        |               |  centuries    |   centuries        |
  2416.   +-------------------------------------------------------------+
  2417.  
  2418. Choose the complexity that you feel meets your needs, but keep in
  2419. mind all that has been mentioned about losing and forgetting 
  2420. passwords.
  2421.  
  2422. These figures represent the state of technology today. PKWARE Inc. 
  2423. cannot predict future technologies which may allow faster attempts at
  2424. decryption of a .ZIP file.
  2425.  
  2426. Note that these figures do not include the time needed to actually
  2427. try all valid passwords. This would increase the time by several
  2428. hundred percent, dependent upon the length of the file.
  2429.  
  2430. PKZIP CONFIGURATION
  2431.  
  2432. Configuring PKZIP with the PKWARE.INI file
  2433.  
  2434. PKZIP can have several of its features configured semi-permanently. 
  2435. These configuration changes are made through a configuration file
  2436. called PKWARE.INI.
  2437.  
  2438. This configuration file may be located in one of three places:
  2439.  
  2440.   1) The current directory
  2441.   2) A directory specified with the environment variable PKWARE.INI
  2442.   3) The directory in which PKZIP.EXE is located
  2443.  
  2444. PKZIP will search for the configuration in each location in the order
  2445. listed above. This means that you may have a default configuration 
  2446. file that is easily overridden by using a configuration file in 
  2447. either of the first two locations.
  2448.  
  2449. **  Any option that is set in the configuration file may be 
  2450.     overridden from the command line.
  2451.  
  2452. The configuration file may be edited manually with a text editor.
  2453.  
  2454. The PKZIP/PKUNZIP Configuration Program 
  2455.  
  2456. **  The PKZIP/PKUNZIP configuration program (i.e. PKCFG.EXE) was not 
  2457.     available at the time of this release and was therefore not 
  2458.     included with this file set. Once this program is complete, it 
  2459.     will be made available to qualified PKZIP users. Contact PKWARE
  2460.     for more information. 
  2461.  
  2462. The PKCFG program will look for an existing configuration file in the
  2463. same locations and order that PKZIP would. If the PKCFG program finds
  2464. an existing configuration file it will load it. The existing 
  2465. configuration values will be shown in place of the defaults.
  2466.  
  2467. A list of options will be displayed on the screen. A highlighted
  2468. cursor indicates the option you can modify. Use the  [UP Arrow] and
  2469. [DOWN Arrow] keys to move up and down through the list.
  2470.  
  2471. Options may be toggled with either the the [LEFT Arrow] and [RIGHT 
  2472. Arrow] keys or by pressing the [ENTER] key. Some options have complex
  2473. possibilities. When one of these is modified, a small dialog box with
  2474. options to be changed will be displayed.
  2475.  
  2476. To reset all displayed options to the default values press [F5]. In
  2477. order to save the options you have selected to the configuration 
  2478. file, press [F1]. Press [F10] to exit the program. If you exit 
  2479. without saving changes, you will be prompted.
  2480.  
  2481. PKWARE.INI
  2482.  
  2483. The format of the PKWARE.INI file is similar to the following:
  2484.  
  2485.        [PKZIP]
  2486.        pkzip options ...
  2487.        [PKUNZIP]
  2488.        pkunzip options ...
  2489.  
  2490. ** You may convert an older configuration file (i.e. PKZIP.CFG) with
  2491.    the pkcfg.exe configuration utility or by running the cnvcfg.bat
  2492.    file.
  2493.  
  2494. The options available in a configuration file are shown in the 
  2495. following tables. The "Default Value" column shows the default value
  2496. of each option.
  2497.  
  2498. The default is the value that would be assumed if the option were not
  2499. specified in the configuration file.
  2500.  
  2501. **  PKCFG.EXE is included with the Registered version of PKZIP, and 
  2502.     is not included with the Shareware version.
  2503.  
  2504.                    PKZIP Configuration File Options
  2505. +------------------------------------------------------------------+
  2506. |    OPTION           |     ALTERNATE VALUE     |  DEFAULT VALUE   |
  2507. |---------------------+-------------------------+------------------|
  2508. | ANSI                | enabled                 | disabled         |
  2509. |---------------------+-------------------------+------------------|
  2510. | ZIPDATE             | latest, keep            | current          |
  2511. |---------------------+-------------------------+------------------|
  2512. | INCLUDE             | hidden, system,         | (NONE)           |
  2513. |                     | hidden/system           |                  |
  2514. |---------------------+-------------------------+------------------|
  2515. | EXCLUDE             | hidden, system,         | (NONE)           |
  2516. |                     | hidden/system           |                  |
  2517. |---------------------+-------------------------+------------------|
  2518. | MASK                | readonly, hidden,       | (NONE)           |
  2519. |                     | system, archive         |                  |
  2520. |---------------------+-------------------------+------------------|
  2521. | PASS                | readonly, hidden,       | (NONE)           |
  2522. |                     | system, archive         |                  |
  2523. |---------------------+-------------------------+------------------|
  2524. | VIEW                | natural, extension,     | (NONE)           |
  2525. |                     | size, date, name,       |                  |
  2526. |                     | percentage, comments,   |                  |
  2527. |                     | reverse, brief, long    |                  |
  2528. |---------------------+-------------------------+------------------|
  2529. | COMPRESS            | extreme, maximum, fast, | normal           |
  2530. |                     | speed, store            |                  |
  2531. |---------------------+-------------------------+------------------|
  2532. | PATHS               | all, recurse            | (NONE)           |
  2533. |---------------------+-------------------------+------------------|
  2534. | RECURSE             | on                      | off              |
  2535. |---------------------+-------------------------+------------------|
  2536. | LISTCHAR            | (ANY)                   | @                |
  2537. |---------------------+-------------------------+------------------|
  2538. | OPTIONCHAR          | (ANY)                   | -                |
  2539. |---------------------+-------------------------+------------------|
  2540. | EMS                 | disabled                | enabled          |
  2541. |---------------------+-------------------------+------------------|
  2542. | XMS                 | disabled                | enabled          |
  2543. |---------------------+-------------------------+------------------|
  2544. | NET                 | disabled                | enabled          |
  2545. |---------------------+-------------------------+------------------|
  2546. | 386                 | disabled                | enabled          |
  2547. |---------------------+-------------------------+------------------|
  2548. | DPMI                | disabled                | enabled          |
  2549. |---------------------+-------------------------+------------------|
  2550. | BACKUP              | wipe, unconditional,    | (NONE)           |
  2551. |                     | format, low, high,      |                  |
  2552. |                     | verify, span, full      |                  |
  2553. |---------------------+-------------------------+------------------|
  2554. | EXPMEMSPOOL         | disabled                | enabled          |
  2555. |---------------------+-------------------------+------------------|
  2556. | USELFN              | disabled                | enabled          |
  2557. +------------------------------------------------------------------+
  2558.  
  2559.                   PKUNZIP CONFIGURATION FILE OPTIONS
  2560. +------------------------------------------------------------------+
  2561. |       OPTION        |     ALTERNATE VALUE     |  DEFAULT VALUE   |
  2562. |---------------------+-------------------------+------------------|
  2563. | DIRECTORIES         | enabled                 | disabled         |
  2564. |---------------------+-------------------------+------------------|
  2565. | ANSI                | enabled                 | disabled         |
  2566. |---------------------+-------------------------+------------------|
  2567. | MASK                | readonly, hidden,       | (NONE)           |
  2568. |                     | system, archive         |                  |
  2569. |---------------------+-------------------------+------------------|
  2570. | VIEW                | natural, crc, extension,| (NONE)           |
  2571. |                     | size, date, name,       |                  |
  2572. |                     | percentage, reverse,    |                  |
  2573. |                     | more, brief, long,      |                  |
  2574. |---------------------+-------------------------+------------------|
  2575. | EMS                 | disabled                | enabled          |
  2576. |---------------------+-------------------------+------------------|
  2577. | XMS                 | disabled                | enabled          |
  2578. |---------------------+-------------------------+------------------|
  2579. | 386                 | disabled                | enabled          |
  2580. |---------------------+-------------------------+------------------|
  2581. | DPMI                | disabled                | enabled          |
  2582. |---------------------+-------------------------+------------------|
  2583. | LISTCHAR            | (ANY)                   | @                |
  2584. |---------------------+-------------------------+------------------|
  2585. | OPTIONCHAR          | (ANY)                   | -                |
  2586. |---------------------+-------------------------+------------------|
  2587. | NEWER               | enabled                 | disabled         |
  2588. |---------------------+-------------------------+------------------|
  2589. | FRESHEN             | enabled                 | disabled         |
  2590. |---------------------+-------------------------+------------------|
  2591. | LABEL               | enabled                 | disabled         |
  2592. |---------------------+-------------------------+------------------|
  2593. | SORT                | natural, crc, extension,| (NONE)           |
  2594. |                     | size, date, name,       |                  |
  2595. |                     | percentage, reverse     |                  |
  2596. |---------------------+-------------------------+------------------|
  2597. | PRINT               | asc, bin, com#          | (NONE)           |
  2598. |---------------------+-------------------------+------------------|
  2599. | PASS                | readonly, hidden,       | (NONE)           |
  2600. |                     | system, archive         |                  |
  2601. |---------------------+-------------------------+------------------|
  2602. | OVERWRITE           | always                  | never            |
  2603. +------------------------------------------------------------------+
  2604.  
  2605. A configuration file consists of ASCII text. This file may be created
  2606. with any text editor that can create a plain ASCII or `DOS Text' 
  2607. file.
  2608.  
  2609. Examples
  2610.  
  2611. Following are example configuration files with explanations of what 
  2612. they would accomplish.
  2613.  
  2614.    ;Example PKWARE.INI #1
  2615.    ;Config files may contain comments if they are prefaced by a
  2616.    ;semi-colon
  2617.    PATHS=recurse
  2618.    VIEW=brief/reverse/size
  2619.    COMPRESS=speed
  2620.  
  2621. The first example configuration file does the following:
  2622.  
  2623. -> Turns on the storage of paths that are found during recursion. 
  2624.    This would make all commands using the -r option behave as though
  2625.    the -rp option was used.
  2626.  
  2627. -> Any view (-v) command used without options will be shown in brief
  2628.    format, sorted in reverse order of the file size.
  2629.  
  2630. -> All commands that do not specify the compression type will use the
  2631.    fastest (-es) method of compression.
  2632.  
  2633.    ;Example PKWARE.INI #2
  2634.    INCLUDE=hidden/system
  2635.    RECURSE=on
  2636.    PATHS=all
  2637.    VIEW=extension
  2638.    EMS=off
  2639.    COMPRESS=extreme
  2640.  
  2641. The second example configuration file does the following:
  2642.  
  2643. -> Causes PKZIP to archive hidden and system files by default. 
  2644.    Hidden and system files are normally skipped by PKZIP and not 
  2645.    visible in directory listings.
  2646.  
  2647. -> Any command will behave as though the -r option has been used
  2648.  
  2649. -> All paths will be stored, both those specified on the command line
  2650.    and those found through recursion(-r).
  2651.  
  2652. -> Any view (-v) command used without options will be shown sorted in
  2653.    order of file extension. Note that the view would be normal, the 
  2654.    default value. If the view command were specified with -vb using 
  2655.    the configuration file, the view would be brief, but the sort 
  2656.    order specified in the configuration file would still be in effect
  2657.    unless overridden with a command line option.
  2658.  
  2659. -> EMS usage is disabled.
  2660.  
  2661. -> All commands that do not specify the compression type would use 
  2662.    the highest compression possible (-exx).
  2663.    
  2664. Application for Authenticity Verification
  2665.  
  2666. In order to receive a serial number to use with the PUTAV program, 
  2667. please fill out and return this form to PKWARE. When the enclosed
  2668. information is verified, you will receive your serial number from
  2669. PKWARE.
  2670.  
  2671. Please note that this does not constitute a license from PKWARE to
  2672. distribute the executable programs PKZIP, PKUNZIP or self-extracting
  2673. PKSFX files for commercial purposes. See LICENSE.DOC or contact 
  2674. PKWARE Inc. for more information about distribution licenses for the
  2675. software.
  2676.  
  2677. Please Read the entire section on AV before filling this out.
  2678.  
  2679. 1) My full registration for PKZIP/PKUNZIP/PKSFX 
  2680.    is enclosed (circle one)  YES  NO
  2681.  
  2682.     If yes, skip to step 3.
  2683.  
  2684. 2) I have previously fully registered PKZIP/PKUNZIP/PKSFX in the  
  2685.    past. The name under which the software is registered is:
  2686.  
  2687. Name:________________________________________________________________
  2688.  
  2689. Company:_____________________________________________________________
  2690.  
  2691. Title:____________________________________ Date:_____________________
  2692.  
  2693. Address:_____________________________________________________________
  2694.  
  2695. City:__________________________________________ State:_______________
  2696.  
  2697. Zip Code:  ________________________
  2698.  
  2699. Telephone #:(______)_________________ Fax #:(_____)__________________
  2700.  
  2701. Approximate date of registration/purchase:___________________________
  2702.  
  2703. 3) Please list the name that you want displayed by PKUNZIP when an
  2704.    authentic file created by you is verified (51 characters max).
  2705.  
  2706. Since the purpose of the Authenticity Verification feature is to help
  2707. provide detection of tampered, hacked or virus infected files, we ask
  2708. that you provide only your company's name or individual's name for 
  2709. the AV string.
  2710.  
  2711. The "AVEXTRA.TXT" feature was designed to additionally display 
  2712. telephone numbers, addresses, BBS numbers, BBS nodes or parameter, 
  2713. CompuServe addresses and similar information.
  2714.  
  2715. |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|
  2716.  
  2717. |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|
  2718.  
  2719. |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|
  2720.  
  2721. F.A.Q. (Frequently Asked Questions)
  2722.  
  2723. This section lists some common questions about PKZIP and related 
  2724. subjects. We hope you will find this information helpful.
  2725.  
  2726. Why do I get the message "Bad Command or Filename"?
  2727. ===================================================
  2728.  
  2729. If you see this message, DOS is telling you it can't find the program
  2730. you are referring to. This can happen because you are either not
  2731. spelling the name of the program properly, or you didn't put a space
  2732. between the program name and its options, or the program is not in
  2733. your path.
  2734.  
  2735. Please see the Installation section and your DOS manual for more 
  2736. information.
  2737.  
  2738. Why is this program so complicated?
  2739. ===================================
  2740.  
  2741. PKZIP initially was used to compress files that would be sent by 
  2742. modem. The people using PKZIP were mostly hobbyists with a fair 
  2743. amount of computer experience. PKZIP was designed to be powerful and
  2744. fast.
  2745.  
  2746. Someone who is familiar with the workings of PKZIP can be very 
  2747. efficient with the command line. The command line interface is vital
  2748. for automated or batch use of PKZIP.
  2749.  
  2750. Although PKZIP may seem very complex at first, it is easy to master
  2751. if you take one step at a time. Start simply by following the
  2752. Tutorial, then experiment and build on that knowledge as you need
  2753. more features.
  2754.  
  2755. Users who prefer using Graphical User Interfaces may wish to 
  2756. consider the "PKZMENU" product from PKWARE. This easy to use 
  2757. menu-driven program offers PKZIP compatibility. It features drop-down
  2758. menus and a simple point and click interface.
  2759.  
  2760. Why didn't the files I zipped get any smaller?
  2761. ==============================================
  2762.  
  2763. On occasion, you may find that the files you add to a .ZIP file do
  2764. not compress. These files will be "stored". This will happen when a 
  2765. file is either already compressed or encrypted.
  2766.  
  2767. In both cases the redundancy of the file will be gone, making 
  2768. compression difficult if not impossible. If the file is encrypted you
  2769. should first save it without encryption, and then use the encryption
  2770. feature of PKZIP.
  2771.  
  2772. You will often find that files distributed with commercial
  2773. applications are already compressed. A common example would be the
  2774. graphic data files that come with games like Leisure Suit Larry or 
  2775. Ultima.
  2776.  
  2777. I zipped up a bunch of files but now I have LESS disk space!?
  2778. =============================================================
  2779.  
  2780. When PKZIP compresses files, it makes a copy of the original file. 
  2781. The original file(s) are still present. If you wish to recover space
  2782. that was taken up by the original file(s), you must either delete 
  2783. them yourself, or instruct PKZIP to delete the file(s) with the -m 
  2784. option.
  2785.  
  2786. What's the difference between -u and -f?
  2787. ========================================
  2788.  
  2789. The update and freshen options are very similar. This may be 
  2790. confusing at first, but the difference between them is fairly easy
  2791. to understand.
  2792.  
  2793. The freshen option will tell PKZIP to archive any files which match
  2794. those already in the .ZIP file. These files will only be 
  2795. re-compressed if they are newer than the files already in the .ZIP 
  2796. file. Each file is evaluated individually.
  2797.  
  2798. The update option will archive all files, with one distinction. If 
  2799. the -u is not used, all files specified will be compressed and added
  2800. to the .ZIP file, even if they already exist in the .ZIP file. By
  2801. using the -u option, you instruct PKZIP to compare what is already 
  2802. in the .ZIP file against what it was asked to compress. If a file is
  2803. already present in the .ZIP file and is also in the source directory,
  2804. PKZIP will compress a file only if it is newer than the copy of the 
  2805. file within the .ZIP file. If a file in the source directory is not
  2806. already present in the target .ZIP file, PKZIP will add it to the 
  2807. .ZIP file.
  2808.  
  2809. Is PKZIP compression "lossy" or "lossless"?
  2810. ===========================================
  2811.  
  2812. PKZIP uses a "lossless" compression scheme. This means that 100% of 
  2813. the original data is preserved and re-created. There is absolutely no
  2814. difference between the data that you put in and the data which you
  2815. get back out.
  2816.  
  2817. There are other compression methods that are known as "lossy". The 
  2818. idea behind these compression methods is that if you throw away some
  2819. of the data, it becomes less complex and therefore can be compressed
  2820. more. This type of compression is only useful for data that need not
  2821. be precise. This applies to some applications that use pictures and 
  2822. sound.
  2823.  
  2824. How do I zip up subdirectories?
  2825. ===============================
  2826.  
  2827. In order to ZIP up subdirectories you must both recurse 
  2828. subdirectories and preserve path names. This is done with the -r and
  2829. -p options in combination. The options may be placed together as -rp.
  2830.  
  2831. When a .ZIP file is created with paths stored, these paths will be
  2832. visible in a view of the file (-v).
  2833.  
  2834. To re-create these subdirectories, or to place files into their 
  2835. original subdirectories, the -d option must be used with PKUNZIP.
  2836.  
  2837. Please see the tutorial for more information.
  2838.  
  2839. I zipped up some subdirectories, but I can't get them to come back?
  2840. ===================================================================
  2841.  
  2842. Did you remember to use the -p option in addition to the -r option?
  2843. You may have stored files that are in subdirectories but not 
  2844. preserved the path names as part of the .ZIP file. To check if there
  2845. are paths in the .ZIP file, do a view of the file:
  2846.  
  2847.    pkunzip file.zip -v
  2848.  
  2849. If you do not see paths as part of the file names within the .ZIP 
  2850. file, then paths were not stored and cannot be recovered. If you do
  2851. see paths all you need to do is use the -d (directory creation) 
  2852. option when you extract the files.
  2853.  
  2854. How do I unzip a single file that is in a subdirectory in the .ZIP file?
  2855. ========================================================================
  2856.  
  2857. Extracting a particular file from a .ZIP file is simple. You type 
  2858. PKUNZIP with the name of the .ZIP file and the name of the particular
  2859. file you want. With a .ZIP file that contains paths the procedure is 
  2860. basically the same.
  2861.  
  2862. Let's assume a "test" .ZIP file with these files in it:
  2863.  
  2864.    file1.txt
  2865.    apple\file2.txt
  2866.    apple\banana\file3.txt
  2867.  
  2868. To extract only "file2.txt" from this .ZIP file you must specify the 
  2869. complete name. This would include the path.
  2870.  
  2871.    pkunzip test.zip apple\file2.txt
  2872.  
  2873. Note there is no leading slash. This is how PKUNZIP differentiates 
  2874. between the files you are extracting with paths, and the target 
  2875. directory. "file2.txt" would be extracted to the current directory. 
  2876. If you wanted to extract it with its subdirectory simply include the
  2877. -d option on the command line.
  2878.  
  2879. How do I unzip a directory without also extracting its subdirectories?
  2880. ======================================================================
  2881.  
  2882. Using the above "test" .ZIP file we could extract the entire contents
  2883. of the apple subdirectory easily:
  2884.  
  2885.    pkunzip test.zip apple\*.* -d
  2886.  
  2887. If we did it as shown above we would not only extract all the files
  2888. in the "apple" subdirectory, but also the "banana" subdirectory below
  2889. it and any files it contains.
  2890.  
  2891. To extract only the "apple" subdirectories contents, and nothing 
  2892. else, we must exclude those directories we do not wish to extract:
  2893.  
  2894.    pkunzip test.zip apple\*.* -d -xapple\banana\*.*
  2895.  
  2896. If the "apple" subdirectory had multiple subdirectories off it you
  2897. would need to exclude each one individually on the command line.
  2898.  
  2899. What is AV?
  2900. ===========
  2901.  
  2902. AV is short for "Authenticity Verification". AV is a process whereby
  2903. a copy of PKZIP has unique codes and information contained in it 
  2904. identifying the owner of the copy of PKZIP. This information is then
  2905. encoded into a .ZIP file when it is created.
  2906.  
  2907. When the file is extracted by PKUNZIP, this information is checked. 
  2908. If the .ZIP file has been modified by a copy of PKZIP other than the
  2909. one which initially created it, PKUNZIP will report that the file has
  2910. been tampered with.
  2911.  
  2912. The advantage of this feature is to offer a layer of protection
  2913. between the creator of an archive and the recipient. The recipient 
  2914. knows that the file received is the file that was sent, as well as
  2915. being able to identify the creator if it is not known.
  2916.  
  2917. Where is my AV number?
  2918. ======================
  2919.  
  2920. As a licensed user of PKZIP you are entitled to one AV number. In
  2921. order to receive an AV number, you must apply for it.
  2922.  
  2923. If you have a need to create AV encoded .ZIP files, fill out the form
  2924. contained in the file "authveri.txt" found in your PKZIP archive. 
  2925. Mail or fax this form to PKWARE. Please allow up to four weeks for 
  2926. processing time, plus mail delays. The codes needed to install your
  2927. AV number will be returned to you via US Mail. AV codes will not be 
  2928. returned by FAX, telephone, or any means other than US Mail.
  2929.  
  2930. Please note that although the initial AV code is included with your
  2931. purchase of a PKZIP license, changes or re-issues of an AV code may 
  2932. be at an additional cost.
  2933.  
  2934. **  You must apply for your AV number. The serial number on the disk
  2935.     PKWARE sent to you has no relation to the AV number. The AV 
  2936.     number is based solely on the information you provide for your AV
  2937.     identification string on the AV application form.
  2938.  
  2939. I forgot my password, what do I do?
  2940. ===================================
  2941.  
  2942.    1. Read the chapter "Using Data Encryption"
  2943.    2. Try to remember the password.
  2944.    3. Try passwords that are "close" to what you think it was.
  2945.    4. Try mixed upper and lower case versions of your password.
  2946.  
  2947. **  There really is nothing that can be done if you lose or forget 
  2948.     your password. Don't forget or lose your passwords!  PKWARE has
  2949.     no special means for "getting around" the encryption and may not
  2950.     be able to assist in the recovery of an encrypted file.
  2951.  
  2952. +----------------------------------------------------------------+
  2953. | YOU SHOULD KEEP A WRITTEN COPY OF YOUR PASSWORD(S) IN A SECURE |
  2954. | PLACE. DO NOT TRUST YOUR MEMORY ALONE.                         |
  2955. +----------------------------------------------------------------+
  2956.    
  2957. What does "Don't Know How to Handle" mean?
  2958. ==========================================
  2959.  
  2960. There are many different methods of compression. In the history of 
  2961. PKZIP alone there have been seven different methods to date. The .ZIP
  2962. file format was designed so that additional methods of compression
  2963. can be added as they are developed. In this way the .ZIP file format
  2964. will never need to be abandoned. If you attempt to extract a .ZIP 
  2965. file that was created with version 2.0 or higher with a lower version
  2966. of PKUNZIP you will receive the message "Don't Know How to Handle" 
  2967. for every file compressed with a more advanced algorithm. If you 
  2968. attempt to extract a .ZIP file created with a version of PKZIP that
  2969. includes a method PKZIP 2.0 does not use, you will receive a warning
  2970. that will tell you what version of PKUNZIP you need.
  2971.  
  2972. What is a CRC and why did it fail?
  2973. ==================================
  2974.  
  2975. CRC is short for Cyclic Redundancy Check. A CRC is a value computed
  2976. to represent the data content of a file. The CRC is computed by PKZIP
  2977. when it archives the file, and computed a second time when the file 
  2978. is extracted. If the second CRC does not match the first CRC, then a
  2979. change has occurred in the data. The cause of a CRC failure can vary.
  2980. Here are some possible causes for CRC failures.
  2981.  
  2982. I. Failure on the machine that created the .ZIP file.
  2983.  
  2984.     A. Failure immediately after creation.
  2985.  
  2986.         1. On a 386/486 or higher there may be an obsolete or poorly 
  2987.            written TSR or device driver interfering with PK(UN)ZIP. Use 
  2988.            the -3 option with both PKZIP and PKUNZIP to see if this is 
  2989.            the problem. Consult the Troubleshooting section for more  
  2990.            information.
  2991.  
  2992.         2. "Clean boot" your machine. Either re-name your autoexec.bat
  2993.            and config.sys files so that they are not loaded, or insert a
  2994.            DOS boot floppy and reset your machine. Attempt extraction and
  2995.            compression of the file again.
  2996.  
  2997.         3. The floppy/hard disk controller may be failing. See if there
  2998.            is any difference in behavior if you compress to/from the hard
  2999.            disk or floppy drive.
  3000.  
  3001.         4. Failing diskette media.
  3002.  
  3003.         5. A bad memory chip.
  3004.  
  3005.         6. Your computer is suffering from the "cache flaw". This is 
  3006.            caused by problems with the external CPU cache on your 
  3007.            computer's motherboard. See the Troubleshooting section,
  3008.            -( option.
  3009.  
  3010.     B. Failure after a period of time.
  3011.  
  3012.         1. Any the above causes.
  3013.  
  3014.         2. The file has been damaged during the time it was stored on the
  3015.            hard disk. The can be caused by cross-linking or "lost" 
  3016.            clusters. Some faulty disk-defragmenters and deletion recovery
  3017.            programs may cause this.
  3018.  
  3019.         3. Deleting and then undeleting a .ZIP file. "Undelete" programs
  3020.            are by no means flawless. An undeleted or recovered file is
  3021.            very likely to fail, as most disk recovery programs are
  3022.            imperfect at best.
  3023.  
  3024. II. Failure on a network server.
  3025.  
  3026.     A. Some network server software does not run properly on 386/486
  3027.        machines. If PKZIP is used on the server CPU running this faulty
  3028.        network software, it will be interfered with by the network 
  3029.        software.
  3030.  
  3031. III.Failure after transfer of a file by modem.
  3032.  
  3033.     A. Any of the problems cited in section I may be the cause of a 
  3034.        failure.
  3035.  
  3036.     B. There was an error in the transfer of the file. Use an "error-
  3037.        correcting" protocol such as ZMODEM to avoid these types of 
  3038.        problems.
  3039.  
  3040.     C. The file was transferred with "Kermit". If you use Kermit you
  3041.        must set it to Binary mode. PKZIP files are binary.
  3042.  
  3043.     D. One of the computers or modems involved in the transfer has a
  3044.        problem.
  3045.  
  3046. IV. Failure after transfer by disk.
  3047.  
  3048.     A. Any of the problems cited in section I may be the cause of a
  3049.        failure.
  3050.  
  3051.     B. Faulty disk controller/floppy drive.
  3052.  
  3053.     C. Faulty floppy disk.
  3054.  
  3055.         1. The drive alignment between the two computers may be off 
  3056.            enough to cause a data error. Normally you will get a "disk
  3057.            failure" message from DOS.
  3058.  
  3059.         2. The disk was damaged by a magnetic or heat source.
  3060.  
  3061.         3. The disk media is worn out or defective.
  3062.  
  3063. What do "Bad Table" and "Inconsistent Local Header" mean?
  3064. =========================================================
  3065.  
  3066. If you receive either or both of the above messages, the .ZIP file is
  3067. damaged or has been tampered with. These messages may also be 
  3068. accompanied by a CRC failure.
  3069.  
  3070. All of the physical causes listed for CRC failures apply as possible
  3071. causes of these errors.
  3072.  
  3073. How can I make PKZIP run faster?
  3074. ================================
  3075.  
  3076. PKZIP defaults to a compression method that is average in both 
  3077. compression amount and speed. If you want to get the most speed out 
  3078. of PKZIP there are several things you can do:
  3079.  
  3080.  1. Specify a faster compression method with the -ef or -es option.
  3081.  
  3082.  2. Use a large RAM disk as your temporary files drive.
  3083.     PKTMP=(RAM disk drive letter)
  3084.  
  3085.  3. If you are creating the .ZIP file on a network drive, set your
  3086.     PKTMP equal to a drive on the same server.
  3087.  
  3088.  4. Make as much conventional memory available as possible.
  3089.  
  3090. How many files can be in a .ZIP file?
  3091. =====================================
  3092.  
  3093. A .ZIP file may contain a maximum of 16,383 file entries under 
  3094. MS-DOS. Due to memory limitations this limit cannot actually be 
  3095. realized. Under the current memory scheme of DOS the largest number
  3096. of files which may be in a .ZIP file is approximately 9000 files.
  3097.  
  3098. The maximum number of files you can handle with a .ZIP file operation
  3099. can be calculated by the following formulas:
  3100.  
  3101. With No EMS or UMB's available:
  3102.  
  3103. (Free Conventional RAM - 375k) / 64 bytes = Maximum # of Files
  3104.  
  3105. With EMS available:
  3106.  
  3107. (Free Conventional RAM - 85k) / 64 bytes = Maximum # of Files
  3108.  
  3109. The "Super Fast" algorithm uses 32k less RAM than the other methods 
  3110. in PKZIP 2. You will be able to compress an additional 500 files when
  3111. using the "Super Fast" method.
  3112.  
  3113. Note that the value of 64 bytes per file is approximate and may vary.
  3114.  
  3115. When a .ZIP file is being updated, you must not only take into 
  3116. account the files being added, but allow 70 bytes per file in the 
  3117. original .ZIP file.
  3118.  
  3119. Can I send a .ZIP file to a different type of computer?
  3120. =======================================================
  3121.  
  3122. As of the publication of this manual, PKWARE currently supports PKZIP
  3123. on MS-DOS and OS/2 platforms, PKWARE intends to support additional
  3124. platforms and will announce these as they become available.
  3125.  
  3126. Because PKWARE has dedicated the .ZIP file format to the public 
  3127. domain, it is possible for other people to write programs which can
  3128. read .ZIP files.
  3129.  
  3130. +-------------------------------------------------------------------+
  3131. | NOTE THAT THE PKZIP, PKUNZIP, PKSFX PROGRAMS AND THEIR ASSOCIATED |
  3132. | SOURCE CODE AND SUPPORT PROGRAMS ARE THE EXCLUSIVE PROPERTY OF    |
  3133. | PKWARE INC. AND ARE NOT PUBLIC DOMAIN SOFTWARE PROGRAMS.          |
  3134. +-------------------------------------------------------------------+
  3135.  
  3136. We are currently aware of PKUNZIP compatible programs for a number of
  3137. different platforms. A .ZIP file can be transferred to any platform 
  3138. for which you can find a compatible extraction program.
  3139.  
  3140. Extraction and Compression programs not developed by PKWARE may not
  3141. be completely compatible with the .ZIP file standard.
  3142.  
  3143. Contact PKWARE for a list of platforms for which PKZIP and PKZIP
  3144. compatible software is available.
  3145.  
  3146. What is the difference between -b and pktmp?
  3147. ============================================
  3148.  
  3149. PKZIP creates two different types of temporary files, and allows you
  3150. to specify the location for these two types separately. The two
  3151. situations where PKZIP creates temp files are:
  3152.  
  3153. -> When a file is being added to a .ZIP file.
  3154. -> When a .ZIP file is being modified.
  3155.  
  3156. It is advantageous to have the temporary files for the first 
  3157. instance written on the fastest drive on your system, unless you are
  3158. creating a .ZIP file on a Novell Network.
  3159.  
  3160. The location for the temporary .ZIP file created when a .ZIP file is
  3161. modified is normally the same as the location of the original file. 
  3162. In some cases you may not have enough room on that drive. When this
  3163. occurs use the -b option to relocate the temp file.
  3164.  
  3165. How Does PKZIP Work?
  3166.  
  3167. This section has been omitted from this manual.
  3168.  
  3169. Troubleshooting
  3170.  
  3171. This section offers some hints to aid you in locating and solving 
  3172. problems. Part of this section includes PKZIP and PKUNZIP command 
  3173. line and configuration file options that apply only to locating 
  3174. problems.
  3175.  
  3176. +-------------------------------------------------------------------+
  3177. | Problem        |     Solution/Reason                 |  See Also  |
  3178. |----------------+-------------------------------------+------------|
  3179. |"Error in .ZIP  |If you are just creating a .ZIP file |Tutorial    |
  3180. | use PKZIPFIX"  |for the first time and receive this  |            |
  3181. | during         |error, your command line is wrong.   |            |
  3182. | compression    |                                     |            |
  3183. |----------------+-------------------------------------+------ -----|
  3184. |"Warning:Bad    |PKZIP or PKUNZIP is not in your path,|Tutorial    |
  3185. | Command or     |or you have mistyped the command.    |            |
  3186. | File Name"     |                                     |            |
  3187. |----------------+-------------------------------------+------------|
  3188. |CRC Failure     |Get a new copy of the file.          |F.A.Q.      |
  3189. |----------------+-------------------------------------+------------|
  3190. |File does not   |File is already compressed or is     |F.A.Q.      |
  3191. |compress        |encrypted                            |            |
  3192. |----------------+-------------------------------------+------------|
  3193. |Files are still |PKZIP copies files by default, to    |PKZIP -m    |
  3194. |there after     |move(delete) them, use the -m option.|            |
  3195. |being Zipped    |                                     |            |
  3196. |----------------+-------------------------------------+------------|
  3197. |Disk Full error |Either the .ZIP file you are creating|PKZIP Backup|
  3198. |                |is too large to fit on the disk, or  |Guide       |
  3199. |                |you do not have enough room to update|            |
  3200. |                |an existing .ZIP file. Create a      |PKZIP -b    |
  3201. |                |multi-volume .ZIP file or use an     |            |
  3202. |                |alternate temporary drive.           |            |
  3203. |----------------+-------------------------------------+------------|
  3204. |Can't find PKSFX|There is no program called PKSFX.    |PKSFX/      |
  3205. |                |PKSFX  refers to a "Self-extracting  |ZIP2EXE     |
  3206. |                |.ZIP file." That is a .ZIP file that |            |
  3207. |                |has been made into an executable file|            |
  3208. |                |with the program ZIP2EXE.EXE         |            |
  3209. |----------------+-------------------------------------+------------|
  3210. |I have lots of  |Although PKZIP uses XMS/EMS memory,  |"Using List |
  3211. |memory, but I'm |there are limitations that will      | files"     |
  3212. |getting an      |occur due to your base (conventional)|            |
  3213. |"Out of memory" |memory being limited. Try to clear up|            |
  3214. |error?           |as much memory as possible. If you  |            |
  3215. |                |are attempting to compress more than |            |
  3216. |                |8,000 files at once you will usually |            |
  3217. |                |receive this error.                  |            |
  3218. |----------------+-------------------------------------+------------|
  3219. |Can't re-create |Make certain you are using the -d    |F.A.Q.      |
  3220. |subdirectories  |option. If you are, and you still    |            |
  3221. |or return files |have this problem, subdirectories may|            |
  3222. |to their        |not have been stored in the .ZIP     |            |             
  3223. |original dirs   |file.                                |            |              
  3224. +-------------------------------------------------------------------+
  3225.  
  3226. **  PKZIP requires 206K of memory if no EMS or XMS is available and
  3227.     108K if enough EMS/XMS is available.
  3228.  
  3229. ________________________________________________________________
  3230. -3   Disable 32-bit instruction usage
  3231.  
  3232. This option is available for users with 80386/80486 type computers. 
  3233. It is used to turn OFF the added 32-bit instructions and register
  3234. usage. When 32-bit instructions are available, PKZIP will utilize 
  3235. them to allow the program to function even faster. However, if you
  3236. are running a different program that may conflict with the use of
  3237. 32-bit instructions, you can disable them by using this command.
  3238.  
  3239. 32-bit instructions will be disabled only for the current PKZIP
  3240. operation. They will then be enabled immediately after the command
  3241. operation is completed.
  3242.  
  3243. You can also disable 32-bit instructions all the time by using the 
  3244. PKNO386 environment variable. To set the environment variable, type
  3245. PKNO386=ON. If the string PKNO386 is present in the environment, 
  3246. then PKZIP (and PKUNZIP) will not use 32-bit instructions or
  3247. registers.
  3248.  
  3249. To enable 32-bit instructions after they have been disabled, type:
  3250.  
  3251.    SET PKNO386=[ENTER].
  3252.  
  3253. If you have persistent problems with another piece of software
  3254. interfering with PKZIP, and you cannot upgrade or discard that 
  3255. software, you may turn off 32-bit instructions in the configuration 
  3256. file. The PKWARE.INI option line is:
  3257.  
  3258.    386=DISABLE
  3259.  
  3260. Note that the configuration file is read only by PKZIP. PKUNZIP can
  3261. only be set permanently by use of the environment variable.
  3262.  
  3263. You may override the configuration file or environment variable on
  3264. PKZIP by using a -3+ option. This will cause PKZIP to use 32-bit 
  3265. instructions regardless of the environment variable being set, or an
  3266. entry in the configuration file.
  3267.  
  3268. ________________________________________________________________
  3269. -^   Echo the command line
  3270.  
  3271. This option is used to display the PKZIP command that you entered on
  3272. the console. It is useful when you are debugging an application or
  3273. batch file which calls PKZIP. The file specifications that you 
  3274. entered will be echoed on the console along with the command output.
  3275.  
  3276. In this example, technical information about all of the *.doc files
  3277. included in the DOCS.ZIP file will be displayed. The information will
  3278. be sorted by date, and the command line will be redisplayed on the 
  3279. screen above the output.
  3280.  
  3281.    E:\>pkzip docs.zip -vd -^ *.doc
  3282.  
  3283. ________________________________________________________________
  3284. -+   Disable EMS usage
  3285. --   Disable XMS/UMB usage
  3286.  
  3287. To use EMS/XMS/UMB features PKZIP and PKUNZIP require:
  3288.  
  3289. -> XMS version 2.0 or greater
  3290. -> EMS LIM 4.0 or greater
  3291.  
  3292. An XMS driver is required in order to have UMB and HMA support 
  3293. available.
  3294.  
  3295. PKZIP/PKUNZIP will use up to 256K of EMS memory. If you are in a 
  3296. situation where you need to preserve EMS memory for other use, such
  3297. as when running a multi-node BBS system, you may wish to disable this
  3298. feature.
  3299.  
  3300. A conflict with your XMS/EMS driver can be eliminated by disabling 
  3301. EMS usage. Problems relating to EMS usage would manifest themselves 
  3302. as:
  3303.  
  3304. -> Unexplainable machine lock-up.
  3305. -> Receiving "Warning:Bad Table" and "File fails CRC check" for every
  3306.    file in a .ZIP file being extracted.
  3307.  
  3308. EMS or XMS usage can be turned off in the configuration file with the
  3309. PKWARE.INI option:
  3310.  
  3311.    EMS=DISABLE
  3312.    XMS=DISABLE
  3313.  
  3314. If EMS has been disabled in the configuration file, you may force 
  3315. usage back on with the -++ option.
  3316.  
  3317. If XMS has been disabled in the configuration file, you may force
  3318. usage back on with the --+ option.
  3319.  
  3320. ________________________________________________________________
  3321. -~   Disable Network detection
  3322.  
  3323. When this option is specified, Network specific operations are 
  3324. disabled. If you feel you are experiencing problems due to a conflict
  3325. with the Network specific operations use this option.
  3326.  
  3327. If the problem is persistent enough that you wish to disable Network
  3328. operations all the time, you may do so with a configuration file
  3329. command:
  3330.  
  3331.    NET=DISABLE
  3332.  
  3333. If Network support has been disabled in the configuration file, you
  3334. may force usage back on with the -~+ option.
  3335.  
  3336. ________________________________________________________________
  3337. -)   Disable DPMI Support
  3338.  
  3339. PKZIP and PKUNZIP require 32-BIT DPMI 0.90 or greater. DPMI support
  3340. uses an extra 6.5K of conventional or UMB memory. If you are 
  3341. extremely tight on memory you may wish to disable DPMI support. If a
  3342. failure occurs in the DPMI Support it can be disabled with this
  3343. option.
  3344.  
  3345.    DPMI=DISABLE
  3346.  
  3347. If DPMI has been disabled in the configuration file, you may force 
  3348. usage back on with the -)+ option.
  3349.  
  3350. ________________________________________________________________
  3351. -(   Use "Slow" MemCopy
  3352.  
  3353. Some computers suffer from a flaw that causes them to have errors 
  3354. when performing simple MemCopy functions. This problem is generally
  3355. caused the the manufacturer's use of inferior grades or speeds of 
  3356. RAM chips for the external CPU memory cache on the motherboard.
  3357.  
  3358. This behavior will most commonly be seen on on relatively fast 
  3359. machines (486/25 and higher).
  3360.  
  3361. This feature is only available on 486 (or higher) CPU's.
  3362.  
  3363. This problem will most frequently exhibit itself in the form of
  3364. unexplainable CRC failures.
  3365.  
  3366. Use of this switch causes PKZIP to manipulate memory in a way that
  3367. is less susceptible to this problem. Note that the added overhead in
  3368. this process may slow down PKZIP by 20% to 40%.
  3369.  
  3370.    SLOWMEMCOPY=ON
  3371.  
  3372. If normal MemCopy has been disabled in the configuration file, you 
  3373. may force usage back on with the -(+ option.
  3374.  
  3375. PKUNZIP has been designed to be mostly immune to this problem.
  3376.  
  3377. Please note that the external CPU cache has no relation to printer
  3378. or disk caches.
  3379.  
  3380. PKNOFASTCHAR= Environment Variable
  3381.  
  3382. This tells PKZIP/PKUNZIP to use the slow DOS 1.x/2.x character output
  3383. function calls rather than the 'DOS Fast Character Output' function.
  3384. This option is designed for compatibility with TSR's or BBS doors
  3385. etc. that do not intercept the DOS Fast Character Output function.
  3386.  
  3387. PKWARE Customer Support Form
  3388.  
  3389. Please photocopy and complete this form as completely as possible
  3390. before contacting our customer support. By providing this information
  3391. you help us to provide assistance in an efficient and exact manner.
  3392.  
  3393. It is recommended that you first fax this form, then call PKWARE 
  3394. customer support. Indicate on this form that you will be calling.
  3395.  
  3396. If sending your problem by fax only, please specify how you would 
  3397. like to be contacted.
  3398.  
  3399. Please Print or Type, use "fine" fax mode if possible.
  3400.  
  3401. PKWARE Inc.
  3402. 9025 N. Deerwood Dr.
  3403. Brown Deer, WI  53223
  3404. (414)354-8699
  3405. (414)354-8559 FAX
  3406. (414)354-8670 BBS
  3407.  
  3408. Problem Description
  3409.  
  3410. Be sure to include the following. Use as many additional sheets as
  3411. necessary
  3412.  
  3413. -> What you are trying to do
  3414. -> What do you expect to happen
  3415. -> What did happen and why it is a problem
  3416. -> Copies of CONFIG.SYS, AUTOEXEC.BAT and any error messages
  3417.  
  3418. Error Messages
  3419.  
  3420. The following error messages may appear when using PKZIP. When the 
  3421. word "WARNING" appears in the message, program execution will 
  3422. continue. Otherwise the program will abort to DOS.
  3423.  
  3424. Each warning message is prefaced with an error code. This error code
  3425. consists of the letter 'E' or 'W' and a number. The letter 
  3426. corresponds to whether the error indicates a "Warning" or "Error" 
  3427. condition. The number corresponds to the DOS error level that would
  3428. be returned.
  3429.  
  3430. Errors are listed in order of return code or warning level.
  3431.  
  3432. A brief explanation of each message follows.
  3433.  
  3434. PKZIP Error Messages
  3435. ====================
  3436.  
  3437.  
  3438. PKZIP: (E01) Can't create: XXXXX.
  3439.  
  3440. The named file could not be created. Either the target directory is 
  3441. full or the file already exists and is read-only or locked by another
  3442. application. On a Network you may receive this message if you do not 
  3443. have file creation rights in the directory.
  3444.  
  3445.  
  3446. PKZIP: (E[2,3]) XXXXX.ZIP - error in ZIP, use PKZIPFIX.
  3447.  
  3448. The named .ZIP file has a corrupted file index. Use PKZIPFIX to 
  3449. attempt reconstruction of the .ZIP file. In some cases the damage to 
  3450. the .ZIP file may be very extensive. If the file is too badly damaged
  3451. PKZIPFIX will not be able to recover the file.
  3452.  
  3453. NOTE: Many novice users receive this message because of improper
  3454. command line syntax. If you specify a command line with only one file
  3455. name following PKZIP and it is NOT a .ZIP file you will receive this
  3456. message. PKZIP assumes that the file is a .ZIP file because you 
  3457. specified it as the first file name on the command line, and it 
  3458. attempts to place all files from the current directory into that 
  3459. file. Upon examination of the file it will not find any .ZIP file
  3460. information (due to its not being a .ZIP file) and will then report
  3461. this message. Please see the tutorial for further information.
  3462.  
  3463.  
  3464. PKZIP: (E[4-11]) Insufficient memory.
  3465.  
  3466. Insufficient memory is available to process the .ZIP file. Try making
  3467. more memory available to PKZIP. If this does not rectify the problem
  3468. then the .ZIP file might be corrupted and PKZIPFIX should be used to
  3469. fix the .ZIP file. If you are creating a new .ZIP file and receive
  3470. this message, it is due to an attempt to ZIP a large number of files.
  3471. Reduce the scope of your command and try again. If you are using a 
  3472. LIST file in your PKZIP command you may be receiving this error 
  3473. because the LIST file is too large. See "List Files" for more 
  3474. information.
  3475.  
  3476.  
  3477. PKZIP:  (E12) No file(s) found.
  3478.  
  3479. No matching files were found to list using the View option. This 
  3480. means the filespec you specified on the command line has no match
  3481. within the .ZIP file.
  3482.  
  3483.  
  3484. PKZIP: (E12) No files specified for deletion!
  3485.  
  3486. The -d (Delete) option was specified but no filenames were given to
  3487. delete. This option does NOT default to *.* if no filenames are 
  3488. given. 
  3489.  
  3490.  
  3491. PKZIP: (E12) Nothing to do!
  3492.  
  3493. No matching files, or files with the specified attributes, or files
  3494. after the specified date etc., were found to compress. Often you will
  3495. receive this message because the command line you entered is not 
  3496. correct. Check the exact name of the file you are specifying as well
  3497. as the path, if any.
  3498.  
  3499.  
  3500. PKZIP: (E13) Can't find:  XXXXX.ZIP.
  3501.  
  3502. The named .ZIP file could not be found. Either it does not exist or
  3503. is not in the specified directory.
  3504.  
  3505.  
  3506. PKZIP: (E14) Insufficient disk space for ZIP comment.
  3507.  
  3508. There is insufficient disk space to hold the comment as entered. You
  3509. will need to move the .ZIP file somewhere with more free space, or 
  3510. clear up more storage space in its current location. Note that a 
  3511. temporary copy of the .ZIP file is not created. The .ZIP file
  3512. comment is appended directly to the existing .ZIP file.
  3513.  
  3514.  
  3515. PKZIP: (E14) Insufficient disk space for updated file:  XXXXX.ZIP.
  3516.  
  3517. The -b option was used, and there is not enough space on the original
  3518. drive containing the .ZIP file to receive the updated .ZIP file. (The
  3519. update operation has added additional or larger files to the .ZIP 
  3520. file, causing it to grow larger than the original). Try to free up 
  3521. some space on the drive containing the .ZIP file, and retry the
  3522. operation. Also, make sure that the drive specified with the -b 
  3523. option is different than the drive containing the .ZIP file.
  3524.  
  3525.  
  3526. PKZIP: (E14) Disk full, file:  XXXXX.
  3527.  
  3528. A disk full error occurred while writing to the specified file. Try 
  3529. freeing up some disk space on the target drive. Also, see the -b 
  3530. option and the PKTMP environment variable.
  3531.  
  3532.  
  3533. PKZIP: (E15) Can't open XXXXX.ZIP for write access!
  3534.  
  3535. The named .ZIP file is read-only or locked by another application and
  3536. can not be modified. This may also occur on a Network drive if you
  3537. do not have adequate access to that file to allow you to modify it. 
  3538.  
  3539.  
  3540. PKZIP: (E17) Too many files!
  3541.  
  3542. An attempt was made to compress more than 16,383 files at one time. 
  3543. This message could be received if you update a .ZIP file which has a
  3544. corrupted central end directory.
  3545.  
  3546.  
  3547. PKZIP: (E[19-23] and E29) Insufficient Memory
  3548.  
  3549. See above.
  3550.  
  3551.  
  3552. PKZIP: (E24) Fatal EMS error: XXXXXXXX
  3553. PKZIP: (E25) Fatal XMS error: XXXXXXXX
  3554.  
  3555. An error has occurred in the interaction between PKZIP and your EMS or
  3556. XMS handler. You may have a faulty EMS/XMS driver.
  3557.  
  3558. To be able to use PKZIP in spite of this problem, disable EMS/XMS
  3559. usage with either the - + or - - option or the configuration file
  3560. options EMS=DISABLE and XMS=DISABLE.
  3561.  
  3562. Please contact PKWARE Technical Support with a description of the
  3563. situation in which the error occurred, the brand and version of your
  3564. EMS driver, and the HEX code printed at the end of this error 
  3565. message.
  3566.  
  3567.  
  3568. PKZIP: (E26) Warning!  DOS 3.0 or later needed to span disks
  3569. PKZIP: (E26) DOS 3.2 or later needed to format disks
  3570.  
  3571. DOS versions below 3.0 do not support the features needed by PKZIP
  3572. in order to span a .ZIP file across multiple disks. DOS versions 
  3573. below 3.2 do not fully support PKZIP's diskette formatting 
  3574. functionality. You will need to upgrade to a newer version of DOS in 
  3575. order to make use of these features.
  3576.  
  3577.  
  3578. PKZIP: (E27) Warning!  Non-removable or unsupported device
  3579.  
  3580. .ZIP files can only be spanned to a device which supports multiple
  3581. storage units (i.e. multiple floppy disks can be inserted in series
  3582. into a floppy drive). The device must also be a standard writable
  3583. DOS device. .ZIP files may not be spanned onto a device such as a 
  3584. Hard drive which cannot be removed.
  3585.  
  3586.  
  3587. PKZIP: (E28) Destination for .ZIP file is same as temporary file
  3588.  
  3589.  
  3590. PKZIP: (E28) Source and destination is the same
  3591.  
  3592. PKZIP Warning Messages
  3593. ======================
  3594.  
  3595.  
  3596. PKZIP: (W01) Warning!  Can't open XXXXX.INI
  3597.  
  3598. When PKZIP runs it looks for a configuration file. The three places
  3599. that PKZIP will look for it's configuration file are: The current 
  3600. directory, the directory where PKZIP.EXE is located, and the 
  3601. directory pointed to by the environment variable PKWARE.INI.
  3602.  
  3603. If the PKWARE.INI environment variable is set, and PKZIP cannot 
  3604. locate a configuration file in any of the three places it looks,
  3605. you will receive this error message.
  3606.  
  3607.  
  3608. PKZIP: (W02) Warning!  Can't open XXXXX
  3609.  
  3610. This error usually occurs on Networks where you either do not have 
  3611. read access to a file or another process/user has the file open in an
  3612. exclusive mode.
  3613.  
  3614. If the file is held open by another process you may be able to 
  3615. overcome this problem by using the -= switch.
  3616.  
  3617. PKZIP will exit with an error level of 18 when this warning is 
  3618. received.
  3619.  
  3620.  
  3621. PKZIP: (W03) Warning!  Can't delete XXXXX.
  3622.  
  3623. The -m (Move) option was specified to delete files after the .ZIP 
  3624. file was constructed. However, the named file could not be deleted, 
  3625. and is probably read-only. You may also receive this message if the 
  3626. file is on a network drive and you do not have access to delete the
  3627. file, or it is locked by another application.
  3628.  
  3629.  
  3630. PKZIP: (W07) Warning! Bad System Track
  3631.  
  3632.  
  3633. PKZIP: (W08) Warning! Can't write FAT
  3634.  
  3635.  
  3636. PKZIP: (W09) Warning! Can't write root directory
  3637.  
  3638.  
  3639. PKZIP: (W10) Warning! Can't write boot sector
  3640.  
  3641. PKUNZIP Error Messages
  3642. ======================
  3643.  
  3644.  
  3645. PKUNZIP: (E[4-8]) Warning!  Insufficient memory.
  3646.  
  3647. Insufficient memory is available to process the .ZIP file. Try making
  3648. more memory available to PKUNZIP. If this does not rectify the 
  3649. problem, then the .ZIP file might be corrupted, and PKZIPFIX should
  3650. be used to fix the .ZIP file. The more files present in a .ZIP file,
  3651. the more memory it will take to process the file.
  3652.  
  3653. In some cases the .ZIP file may be too complex. Too many files are 
  3654. contained within the .ZIP file for PKZIP to handle. This may occur if
  3655. the .ZIP file is created under an operating system other than DOS.
  3656.  
  3657.  
  3658. PKUNZIP: (E09) Can't open: XXXXX.ZIP.
  3659.  
  3660. The named .ZIP or list file(s) could not be found. It does not exist,
  3661. was spelled incorrectly, or is not in the specified directory.
  3662.  
  3663.  
  3664. PKUNZIP: (E09) Can't find: XXXXX
  3665.  
  3666. PKUNZIP was unable to locate the specified .ZIP or @list file. The
  3667. filespec specified was in error or a disk error has occurred.
  3668.  
  3669.  
  3670. PKUNZIP: (E11) No file(s) found.
  3671.  
  3672. No files were found to extract, test, update or list. The filespec 
  3673. specified on the command line does not match any files present in the
  3674. .ZIP file, or all files found could not be extracted due to an 
  3675. incorrect password or incompatible compression type.
  3676.  
  3677.  
  3678. PKUNZIP: (E50) Disk full, file:  XXXXX.
  3679.  
  3680. There is not enough free room on the destination drive/directory for
  3681. the file being extracted. The program will abort and exit to DOS.
  3682.  
  3683. PKUNZIP Warning Messages
  3684. ========================
  3685.  
  3686.  
  3687. PKUNZIP: (W[01,02]) Warning! File has bad table
  3688.  
  3689. The Imploded file being tested or extracted has an error in its
  3690. encoding. The file is probably corrupt or not a .ZIP file. Files that
  3691. have been damaged in this way cannot be recovered.
  3692.  
  3693.  
  3694. PKUNZIP: (W03) Warning! File has bad table
  3695.  
  3696. The Reduced file being tested or extracted has an error in its
  3697. encoding. The file is probably corrupt or not a .ZIP file. Files that
  3698. have been damaged in this way cannot be recovered.
  3699.  
  3700.  
  3701. PKUNZIP: (W04) Warning!  XXXXX.ZIP - error in ZIP, use PKZIPFIX.
  3702.  
  3703. The named .ZIP file has a corrupted file index. Use PKZIPFIX to 
  3704. reconstruct the .ZIP file. You may also receive this message if you
  3705. attempt to extract a file which is not a .ZIP file.
  3706.  
  3707. If the file is less than 22 bytes in length it cannot be a .ZIP file
  3708. and the "use PKZIPFIX" message will not be shown.
  3709.  
  3710.  
  3711. PKUNZIP: (W[05-07]) Warning! Insufficient memory
  3712.  
  3713. Insufficient memory is available to process the .ZIP file. Try making
  3714. more memory available to PKUNZIP. If this does not rectify the
  3715. problem, then the .ZIP file might be corrupted, and PKZIPFIX should
  3716. be used to fix the .ZIP file. The more files present in a .ZIP file,
  3717. the more memory it will take to process the file.
  3718.  
  3719. In some cases the .ZIP file may be too complex. Too many files are 
  3720. contained within the .ZIP file for PKZIP to handle. This may  occur
  3721. if the .ZIP file was created under an operating system other than
  3722. DOS.
  3723.  
  3724.  
  3725. PKUNZIP: (W08) Warning!  Can't open XXXXX.ZIP
  3726. PKUNZIP: (W09) Warning!  Can't open printer device
  3727.  
  3728. The named file or printer device could not be opened. Either a disk
  3729. error occurred, or the file is locked by another application. You may
  3730. receive this error on a network drive if you do not have read access
  3731. to that file.
  3732.  
  3733. The printer device may not exist, or may be off-line.
  3734.  
  3735.  
  3736. PKUNZIP: (W10) Warning!  Can't create: XXXXX.
  3737. PKUNZIP: (W10) Warning!  Invalid file name: XXXXX.
  3738.  
  3739. The named file could not be created. The output directory is invalid
  3740. because it does not exist, is spelled incorrectly, or is full. You 
  3741. may also receive this message on a Network drive if you do not have
  3742. file creation rights there or the directory is full.
  3743.  
  3744. In the case of an invalid file name error, the name stored in the 
  3745. .ZIP file is invalid. This may indicate a damaged .ZIP file, or one 
  3746. that has been tampered with.
  3747.  
  3748.  
  3749. PKUNZIP: (W11) Warning!  I don't know how to handle:  XXXXX.
  3750.  
  3751. The file XXXXX is compressed or encoded in a way that this version of 
  3752. PKUNZIP is unable to handle. Either a different version of PKUNZIP is 
  3753. required to properly extract this file, or the .ZIP file is possibly
  3754. corrupted.
  3755.  
  3756.  
  3757. PKUNZIP: (W12) Skipping encrypted file.
  3758.  
  3759. Only the files that are password protected will be skipped (not 
  3760. extracted) because they are encrypted and the correct password was 
  3761. not entered.
  3762.  
  3763.  
  3764. PKUNZIP: (W13) Warning!  Inconsistent local header for file:  XXXXX.
  3765.  
  3766. The local header for file XXXXX is different than the central header
  3767. information. Use PKZIPFIX to reconstruct the .ZIP file.
  3768.  
  3769.  
  3770. PKUNZIP: (W14) Incorrect password for file.
  3771.  
  3772. The .ZIP file is password protected, and cannot be opened unless the
  3773. correct password is entered. The password entered is not the correct
  3774. password. See "Passwords" in the Advanced Features section for 
  3775. further information.
  3776.  
  3777.  
  3778. PKUNZIP: (W15) Warning!  File fails CRC check.
  3779.  
  3780. The CRC-32 check for the file being extracted or tested did not match
  3781. the stored value for the file. The file is probably corrupted. See 
  3782. the "Troubleshooting" section for more details.
  3783.  
  3784.  
  3785. PKUNZIP: (W16) Warning! File fails Authenticity Verification check
  3786.  
  3787. The .ZIP file is AV encoded but the AV could not be verified. Failure
  3788. of AV indicates a file which has been tampered with or damaged. If 
  3789. the file has failed the AV check the contents are suspect.
  3790.  
  3791.  
  3792. PKUNZIP: (W17) Warning! File fails Authenticity Verification check
  3793.  
  3794. The .ZIP file is AV encoded and has been tampered with or damaged.
  3795. File should be discarded and a new copy obtained.
  3796.  
  3797.  
  3798. PKUNZIP: (W18) Warning!  File XXXXX already exists. Overwrite (y/n/a/r)?
  3799.  
  3800. The file XXXXX already exists on the disk. Pressing N will leave the
  3801. original file on the disk, and not extract the file from the .ZIP
  3802. file. Pressing Y will extract the file from the .ZIP file, and 
  3803. overwrite the file on the disk. If you want to overwrite this file,
  3804. and ALL FOLLOWING FILES, press A for ALL. If you wish to extract this
  3805. file, but not overwrite an existing file, you may press R for RENAME.
  3806. PKUNZIP will prompt you for a new name for the file. 
  3807.  
  3808. See Also: -o and -n options.
  3809.  
  3810.  
  3811. PKUNZIP: (W19) Warning!  Invalid Shrunk file
  3812.  
  3813. The Shrunk file being tested or extracted has an error in its 
  3814. encoding. The file is probably corrupt or not a .ZIP file. Files that
  3815. have been damaged in this way cannot be recovered.
  3816.  
  3817.  
  3818. PKUNZIP: (W20) Warning! Insufficient memory
  3819.  
  3820. Insufficient memory is available to process the .ZIP file. Try making
  3821. more memory available to PKUNZIP. If this does not rectify the
  3822. problem, then the .ZIP file might be corrupted, and PKZIPFIX should 
  3823. be used to fix the .ZIP file. The more files present in a .ZIP file,
  3824. the more memory it will take to process the file.
  3825.  
  3826.  
  3827. PKUNZIP: (W21) Warning!  File has bad table.
  3828.  
  3829. The Deflated file being tested or extracted has an error in its 
  3830. encoding. The file is probably corrupt or not a .ZIP file. Files that
  3831. have been damaged in this way cannot be recovered.
  3832.  
  3833.  
  3834. PKUNZIP: (W23) Warning!  File has bad table.
  3835.  
  3836. The Deflated file being tested or extracted has an error in its
  3837. encoding (bad block type). The file is probably corrupt or not a .ZIP
  3838. file. Files that have been damaged in this way cannot be recovered.
  3839.  
  3840.  
  3841. PKUNZIP: (W24) Warning!
  3842. You need PKUNZIP version: X.X or later to extract XXXXX
  3843.  
  3844. The file XXXXX is compressed or encoded in a way that this version of
  3845. PKUNZIP is unable to handle. A more recent version of PKUNZIP is 
  3846. required to properly extract this file. The version number is listed
  3847. as X.X. Contact PKWARE for upgrade information.
  3848.  
  3849.  
  3850. PKUNZIP: (W25) Warning! .ZIP file comment too big
  3851.  
  3852. The file comment attached to this .ZIP file is too large. The .ZIP
  3853. file can still be handled normally but will not be displayed.
  3854.  
  3855.  
  3856. PKUNZIP: (W26) XXXXX.ZIP has errors.
  3857.  
  3858. The named .ZIP file had one or more errors detected in it. This 
  3859. message is displayed after PKUNZIP is finished acting upon a file.
  3860. You may receive this message if you attempt to extract a file that is
  3861. not a .ZIP file.
  3862.  
  3863. ZIP2EXE Warning/Error Messages
  3864. ==============================
  3865.  
  3866.  
  3867. ZIP2EXE: (E01) Error in .ZIP file
  3868. ZIP2EXE: (E02) Error in .ZIP file, use PKZIPFIX
  3869.  
  3870. The .ZIP file you are attempting to process is corrupt. You may
  3871. attempt recovery of the file by using PKZIPFIX. PKZIPFIX will work on
  3872. either standard .ZIP files or self-extracting .EXE files.
  3873.  
  3874.  
  3875. ZIP2EXE: (E03-04) Insufficient memory to process file
  3876.  
  3877. The .ZIP file you are attempting to process is too complex. This may
  3878. indicate a .ZIP file which contains too many files. In some cases you
  3879. may receive this error because the file being processed is corrupt.
  3880.  
  3881.  
  3882. ZIP2EXE: (E07) Can't open Source file
  3883.  
  3884. The source .ZIP or .EXE file specified on the command line cannot be 
  3885. opened due to a disk error or insufficient network access.
  3886.  
  3887.  
  3888. ZIP2EXE: (E08) Error in .ZIP file
  3889.  
  3890. The .ZIP file you are attempting to process is corrupt. You may 
  3891. attempt recovery of the file by using PKZIPFIX. PKZIPFIX will work 
  3892. on either standard .ZIP files or self-extracting .EXE files.
  3893.  
  3894.  
  3895. ZIP2EXE: (E09) Can't create output file
  3896. ZIP2EXE: (E11) Disk full writing target file during ZIP to EXE process
  3897.  
  3898. During the process of converting a file there must be enough disk 
  3899. space available to contain both the original file and the file which
  3900. will be created. If there is not enough room to process the file on
  3901. the current drive you may direct the output to another drive by 
  3902. specifying it on the command line.
  3903.  
  3904.  
  3905. ZIP2EXE: (E12) Compression method not supported
  3906.  
  3907. The .ZIP file being converted contains a file compressed with a 
  3908. method not supported by the version of PKSFX being attached by 
  3909. ZIP2EXE.
  3910.  
  3911. You can only perform the ZIP2EXE process on .ZIP files created using
  3912. the compression method(s) supported by the self-extracting module you
  3913. are attaching.
  3914.  
  3915.  
  3916. ZIP2EXE: (W01) Warning! The file already exists, overwrite (y/n)?
  3917.  
  3918. The file already exists on the disk. Pressing N will not overwrite
  3919. the original file. Pressing Y will overwrite the file on the file.
  3920.  
  3921. PKSFX  Warning/Error Messages
  3922. =============================
  3923.  
  3924.  
  3925. PKSFX: (W01) File fails CRC checkPKSFX: (W01) Unknown compression method
  3926.  
  3927. A warning may indicate any of several problems. See the corresponding
  3928. PKUNZIP error message for explanation.
  3929.  
  3930.  
  3931. PKSFX: (E02) Can't find .EXE file
  3932. PKSFX: (E02,E03) Error in .EXE file
  3933.  
  3934. The self-extractor was unable to locate itself. When the 
  3935. self-extractor runs it must determine what the name of its executable
  3936. file is. Anything which can prevent this from happening will generate
  3937. this error. This error may indicate an incorrect installation of DOS
  3938. on the target machine.
  3939.  
  3940.  
  3941. PKSFX: (E[4-8]) Insufficient memory
  3942.  
  3943. Insufficient memory is available to process the .ZIP file. Try making
  3944. more memory available to the Self-extractor. If this does not rectify
  3945. the problem, then the self-extracting file might be corrupted, and
  3946. PKZIPFIX should be used to fix the .EXE file. The more files present
  3947. in a self-extracting .ZIP file, the more memory it will take to 
  3948. process the file.
  3949.  
  3950.  
  3951. PKSFX: (E09) Unable to locate listfile
  3952.  
  3953. The @list file specified on the command line could not be found.
  3954.  
  3955.  
  3956. PKSFX: (E13) Error in .EXE file
  3957.  
  3958. The self-extracting file is corrupt. This may occur due to a disk 
  3959. error, a transmission error, or a software problem.
  3960.  
  3961.  
  3962. PKSFX: (E50) Disk full
  3963.  
  3964. The self-extractor has run out of space while extracting the files 
  3965. it contains. You may either free up more disk space or direct the
  3966. self-extractor to place the files on a different drive.
  3967.  
  3968.  
  3969. PKSFX: Warnings numbers are the same as PKUNZIP [9-18,20,21,23,24]
  3970.  
  3971. PKSFX/PKUNZIP Junior Error Messages
  3972. ===================================
  3973.  
  3974.  
  3975. PKSFXJR: Warning error
  3976.  
  3977. A warning may indicate any of several problems. See the corresponding
  3978. PKUNZIP error message for explanation.
  3979.  
  3980.  
  3981. PKSFXJR: Can't find .EXE file
  3982.  
  3983. The self-extractor was unable to locate itself. When the 
  3984. self-extractor runs it must determine what the name of its executable
  3985. file is. Anything which can prevent this from happening will 
  3986. generate this error.
  3987.  
  3988. This error usually indicates an incorrect installation of DOS on the 
  3989. target machine.
  3990.  
  3991.  
  3992. PKSFXJR: Error in .EXE file
  3993.  
  3994. The self-extracting file is corrupt. This may occur due to a disk 
  3995. error, a transmission error, or a software problem.
  3996.  
  3997.  
  3998. PKSFXJR: File has a bad table
  3999.  
  4000. The compressed data is corrupt. This can indicate a damaged 
  4001. self-extracting file or data that was originally corrupt when the 
  4002. self-extracting file was created.
  4003.  
  4004.  
  4005. PKSFXJR: Can't create file
  4006.  
  4007. The self-extractor was unable to create a file it intended to 
  4008. extract. This may occur because you either do not have sufficient
  4009. rights to a directory, or because all the directory entries are full.
  4010.  
  4011.  
  4012. PKSFXJR: Disk full
  4013.  
  4014. The self-extractor has run out of space while extracting the files it
  4015. contains. You may either free up more disk space or direct the 
  4016. self-extractor to place the files on a different drive.
  4017.  
  4018.  
  4019. PKSFXJR: Too many files
  4020.  
  4021. A junior self-extractor may only contain 512 or fewer files. This 
  4022. error indicates either that more than 512 files are within the 
  4023. self-extractor or that the file is corrupt.
  4024.  
  4025. **  No numbers are printed by PKSFXJR. It will print only a message,
  4026.     no number is printed. The errorlevel will be returned to DOS
  4027.     however.
  4028.  
  4029. Error Levels
  4030. ============
  4031.  
  4032. In order to enhance the power of using PKZIP and PKUNZIP from within
  4033. another program or within a batch file, they return error levels. 
  4034. These error levels are listed below.
  4035.  
  4036. **  Please note that if testing error levels in a batch file, DOS
  4037.     tests the error level not for equality, but for greater than or
  4038.     equal to.
  4039.  
  4040. PKZIP:
  4041. 0        No Error
  4042. 1        Bad file name or file specification
  4043. 2,3      Error in .ZIP file
  4044. 4-11     Insufficient Memory
  4045. 12       No files were found to add to the .ZIP, or no files were
  4046.          specified for deletion
  4047. 13       File not found. The specified .ZIP file or list file was not
  4048.          found
  4049. 14       Insufficient disk space for .ZIP comment 
  4050.           or
  4051.          Insufficient disk space for update file
  4052.           or
  4053.          Disk Full, file XXXXX
  4054. 15       .ZIP file is read-only and can not be modified
  4055. 16       Bad or illegal parameters specified. (help screen displayed)
  4056. 17       Too many files
  4057. 18       Could not open file
  4058. 19-23,29 Insufficient Memory
  4059. 26       DOS 3.2 or later needed to span disks
  4060. 28       Destination for .ZIP is same as temporary file
  4061.           or
  4062.          Source and destination is the same
  4063. 255      User pressed control-c or control-break
  4064.  
  4065. PKUNZIP:
  4066. 0        No error.
  4067. 1        Warning error (such as failed CRC check).
  4068. 2,3      Error in .ZIP file.
  4069. 4-8      Insufficient Memory.
  4070. 9        File not found. No .ZIP files found.
  4071. 10       Bad or illegal parameters specified. (help screen displayed)
  4072. 11       No files found to extract/view etc.
  4073. 50       Disk Full.
  4074. 51       Unexpected EOF in .ZIP file.
  4075. 255      User pressed control-c or control-break
  4076.  
  4077. ZIP2EXE:
  4078. 0        No error
  4079. 1        Error in .ZIP file
  4080. 2        Error in .ZIP file, use PKZIPFIX
  4081. 3-4      Insufficient memory to process file
  4082. 6        Bad or illegal parameters specified. (help screen displayed)
  4083. 7        Can't open Source file
  4084. 8        Error in .ZIP file
  4085. 9        Disk full writing target file during EXE to ZIP process
  4086. 11       Disk full writing target file during ZIP to EXE process
  4087. 12       .ZIP file being converted contains a file compressed with a
  4088.          method not supported by the version of PKSFX being attached
  4089.          by ZIP2EXE
  4090. 13       User answered "No" in response to an "overwrite(y/n)?" prompt
  4091.  
  4092. PKSFX:
  4093. 1        Warning error such as:
  4094.          File fails CRC check, Unknown compression method.
  4095. 2,3      Can't find .EXE file
  4096. 4-8      Insufficient memory
  4097. 9        Unable to locate listfile
  4098. 10       Bad or illegal parameters specified. (help screen displayed)
  4099. 12       User aborted at comment pausing, "Extract now (y/n)?" prompt
  4100. 2,3,13   Error in .EXE file
  4101. 50       Disk full
  4102.  
  4103. PKSFX/PKUNZIP Junior:
  4104. 1        Warning error such as:
  4105.          File fails CRC check, Unknown compression method.
  4106. 2        Can't find .EXE file
  4107. 3        Error in .EXE file
  4108. 4        File has a bad table
  4109. 5        Can't create file
  4110. 6        Disk full
  4111. 7        Too many files
  4112. 8        User aborted at comment pausing "Extract now (y/n)?" prompt
  4113.  
  4114. PK SAFE ANSI - PKSFANSI.COM
  4115.  
  4116. PKSFANSI (PK Safe ANSI) is a Terminate and Stay Resident program that
  4117. disables ANSI Keyboard Key Reassignments, thereby preventing "ANSI 
  4118. bombs" embedded in any text file (such as README files) or output by
  4119. any program.
  4120.  
  4121. Normally, ANSI sequences that redefine the keyboard could be hidden 
  4122. inside ANY text file or program, and could be executed completely 
  4123. unnoticed until it is too late. PKSFANSI intercepts calls to the 
  4124. ANSI.SYS or other ANSI device drivers, and filters out any keyboard
  4125. reassignments, while allowing other ANSI sequences through unaltered.
  4126.  
  4127. If a keyboard key reassignment is attempted, PKSFANSI will intercept
  4128. the sequence and discard it. PKSFANSI also will BEEP to alert you
  4129. that a reassignment was attempted.
  4130.  
  4131. PKSFANSI requires less than 1k bytes resident RAM, and should work 
  4132. with any ANSI driver, such as the standard ANSI.SYS driver, NANSI,
  4133. ZANSI, DVANSI, etc. Note that if you use a memory resident ANSI 
  4134. driver, such as the DESQview DVANSI.COM driver, PKSFANSI should be 
  4135. loaded after the ANSI driver is loaded.
  4136.  
  4137. Usage
  4138.  
  4139. Add PK Safe ANSI to your AUTOEXEC.BAT command file. Early in your 
  4140. AUTOEXEC.BAT file add the line:
  4141.  
  4142.    C:\PKWARE\PKSFANSI.COM 
  4143.    
  4144. This will cause the PK Safe ANSI TSR to be loaded into memory, 
  4145. allowing you to safely use ANSI codes. Once this is installed you may
  4146. wish to turn on ANSI in your PKZIP configuration file. There should
  4147. be this line present in your PKWARE.INI file:
  4148.  
  4149.    ANSI=ENABLED
  4150.  
  4151. To turn on ANSI for a particular PKZIP operation, or for a PKUNZIP
  4152. operation, use the command option -q.
  4153.  
  4154.    pkunzip -v test.zip -q
  4155.  
  4156. Monochrome Option
  4157.  
  4158. PK Safe ANSI has one option. This option will cause PK Safe ANSI to
  4159. discard color codes. This is useful if you are using a lap top 
  4160. computer with a monochrome display.
  4161.  
  4162.    PKSFANSI -c
  4163.  
  4164. Please note that this only affects programs which use ANSI for their
  4165. display control.
  4166.  
  4167. NOTE: PK Safe Ansi is only included with the Registered version of 
  4168. PKZIP for DOS.
  4169.  
  4170. PKZIP BACKUP GUIDE
  4171.  
  4172. PKZIP can now create .ZIP files that exceed the size of a floppy 
  4173. disk. You may use PKZIP to backup your entire hard disk and unlike 
  4174. most backup programs, PKZIP can use disks formatted by DOS, or it can
  4175. format the disk for you. PKZIP can optionally erase all files on the 
  4176. destination disk(s), or leave those files intact. PKZIP can 
  4177. optionally quick format the destination disk(s), or do a normal 
  4178. (unconditional) format. A quick format erases the information on the
  4179. disk without formatting each track, greatly reducing the time
  4180. required to format a disk.
  4181.  
  4182. Option  Description
  4183.  
  4184. -&      Span disks if necessary.
  4185.         
  4186.         You must specify this option if you wish to create a .ZIP file
  4187.         on multiple disks. If this option is not specified and you
  4188.         exceed the capacity of a floppy disk, a DISK FULL error 
  4189.         message will result.
  4190.  
  4191. -&f     Format the destination disk.
  4192.  
  4193.         PKZIP will format the destination disk(s) if you specify this
  4194.         option. If the disk has been formatted previously, a quick
  4195.         format will be performed, otherwise a full format will be 
  4196.         performed.
  4197.  
  4198. -&fl    The destination disk is to be formatted to low density.
  4199.  
  4200.         If you plan to use low density disks in a high density disk
  4201.         drive, this option is required. For example, if you have a 
  4202.         1.44 meg floppy disk drive, and plan to zip to 720K disks and
  4203.         your disks are not formatted, you must specify this option. 
  4204.         If your disk drive is a 360K or 720K drive, this option is not
  4205.         required. If any information was previously contained on the
  4206.         disk, it will be erased.
  4207.  
  4208. -&u     Unconditionally (always) format the disk.
  4209.  
  4210.         Always format the disk before being used. A full format will
  4211.         be used, a quick format will never be performed. If any 
  4212.         information was previously contained on the disk, it will be 
  4213.         erased.
  4214.  
  4215. -&ul    Unconditionally (always) format a low density disk in a high
  4216.         density disk drive.
  4217.  
  4218.         Always format the disk before being used. A full format will
  4219.         be used, a quick format will never be performed. If any 
  4220.         information was previously contained on the disk, it will be
  4221.         erased.
  4222.  
  4223. -&w     Wipe the disk. (Erase all files and subdirectories)
  4224.  
  4225.         This is similar to -&f, except the files are deleted, rather 
  4226.         than formatting the disk. This is for usage with non floppy 
  4227.         removable devices, such as Bernoulli boxes.
  4228.  
  4229. -&s[d:] Include subdirectories in zipping process 
  4230.         (similar to -rp \*.*).
  4231.  
  4232. -&v     Turn on DOS verify when spanning. This may also be set by
  4233.         using BACKUP=verify in the pkzip.cfg file.
  4234.  
  4235.         This option tells PKZIP that you wish to backup the entire 
  4236.         disk drive. The current disk drive will be used if no disk 
  4237.         drive is specified. You do not need to specify the -rp option
  4238.         (recurse and store path names). If you also specify files on 
  4239.         another disk drive, these files will be compressed, as well
  4240.         as all files on the default drive. (Please see following
  4241.         examples.)
  4242.  
  4243. All options are case insensitive, but this may change in future 
  4244. versions. We suggest you USE LOWER CASE LETTERS FOR FUTURE 
  4245. COMPATIBILITY. The -&l option must be specified with -&u or -&f.
  4246.  
  4247. **  If you create a .ZIP file with the same name as exists on a disk
  4248.     set, you do not need to use the WIPE or FORMAT options. PKZIP
  4249.     will create a new .ZIP file with the same name; this method is 
  4250.     faster.
  4251.  
  4252. **  All the PKZIP Configuration File options can be overridden on the
  4253.     command line by specifying the option and a '-'. For example, 
  4254.     -&f- will override "BACKUP=FORMAT" in the Configuration File and
  4255.     turn off formatting.
  4256.  
  4257. **  When using PKUNZIP.EXE to restore a from a spanned backup set, it
  4258.     is most efficient to start by inserting the last diskette.
  4259.  
  4260. **  If you would like to use PKZIP.EXE for full and incremental
  4261.     backups, use the -a+ for the full backup. This will turn off the
  4262.     archive attribute after the files have been compressed. Then to
  4263.     perform a incremental backup, use the -i option. This will 
  4264.     compress only files that have changed since they were last backed
  4265.     up.
  4266.  
  4267. Examples
  4268.  
  4269. Command Line                         Description
  4270.  
  4271. pkzip a:zipfile -&                   Zip the current directory to 
  4272.                                      drive A:, and span disks if 
  4273.                                      necessary. The files currently
  4274.                                      on drive A: will not be 
  4275.                                      affected.
  4276.  
  4277. C:\>pkzip a:zipfile -&s              Zip all files on drive C: to the
  4278.                                      A: drive.
  4279.  
  4280. C:\>pkzip b:zipfile -&s d:\sd\*.*    Zip all files on drive C:(the 
  4281.                                      current drive), and all files in
  4282.                                      the D:\SD directory to the B:
  4283.                                      drive.
  4284.  
  4285. C:\>pkzip a:zipfile -&s d:\*.BAT     Zip all the files on drive C: 
  4286.                                      and all .BAT files on drive D:
  4287.                                      to the A: drive.
  4288.  
  4289.  
  4290. pkzip a:zipfile -&f -rp              Zip the current directory and
  4291.                                      its subdirectories to drive A:,
  4292.                                      and format each disk. A quick 
  4293.                                      format will be performed if 
  4294.                                      possible, which is much faster
  4295.                                      than a unconditional format.
  4296.  
  4297. pkzip a:zipfile -&u -rp              Same as above, except the disk
  4298.                                      will be unconditionally 
  4299.                                      formatted.
  4300.  
  4301. pkzip a:zipfile -&fl                 Zip the current directory to
  4302.                                      drive A:, and format each disk
  4303.                                      to low density. This option 
  4304.                                      only applies to users using a 
  4305.                                      360K floppy disk in a 1.2 meg 
  4306.                                      drive, or users using a 720K 
  4307.                                      floppy disk in a 1.44 meg drive.
  4308.                                      A quick format will be performed
  4309.                                      if possible, which is much 
  4310.                                      faster than a unconditional
  4311.                                      format.
  4312.  
  4313. pkzip a:zipfile -&ul                 Same as above, except the disk
  4314.                                      will be unconditionally 
  4315.                                      formatted (do not quick format).
  4316.  
  4317. pkzip a:zipfile -&w -rp              Zip the current directory and
  4318.                                      its subdirectories to drive A:,
  4319.                                      and wipe each disk. All files
  4320.                                      and subdirectories will be 
  4321.                                      erased from the A: drive. The 
  4322.                                      disk will not be formatted or
  4323.                                      quick formatted.
  4324.  
  4325. pkzip a:zipfile -&fs                 Zip the current disk drive
  4326.                                      (including subdirectories) to 
  4327.                                      drive A:, and format each disk.
  4328.                                      If the destination disk has 
  4329.                                      previously been formatted, a 
  4330.                                      quick format will be performed. 
  4331.                                      Otherwise, an unconditional
  4332.                                      format will be performed.
  4333.  
  4334. Backup options for the PKWARE.INI configuration file
  4335.  
  4336. The keyword BACKUP=  may be followed by the following keywords:
  4337.  
  4338. SPAN           The -& option is enabled. If this keyword is not
  4339.                specified, the following options will only be enabled
  4340.                when -& is specified on the command line. (Same as -&)
  4341.  
  4342. UNCONDITIONAL  Format the disk unconditionally (Same as -&u)
  4343.  
  4344. LOW            Using low density disks  (Same as -&l)
  4345.  
  4346. FORMAT         Format the disks  (Same as -&f)
  4347.  
  4348. WIPE           Wipe the disks  (Same as -&w)
  4349.  
  4350. FULL           Do a full backup  (Same as -&s)
  4351.  
  4352. VERIFY         Turn on DOS verify when spanning (Same as -&v)
  4353.  
  4354. Examples                             Same as
  4355. BACKUP=SPAN FORMAT                   -&f
  4356. BACKUP=SPAN FORMAT UNCONDITIONAL     -&u
  4357. BACKUP=LOW VERIFY SPAN               -&lv
  4358. BACKUP=FORMAT WIPE                   Illegal -- WIPE and FORMAT 
  4359.                                                 are exclusive
  4360. BACKUP=FULL                          -&s
  4361. BACKUP=FULL  WIPE                    -&sw